Skip to content
Unverified Commit cb8bd37a authored by Nephiaust's avatar Nephiaust
Browse files

Fixed warning for mem checks


(Added check to test if line is gt than 1 character)

PHP Warning:  Undefined array key 1 in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_mem_usage.inc.php on line 79

PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/ispconfig/server/lib/classes/cron.d/100-monitor_mem_usage.inc.php on line 79

Signed-off-by: default avatarNephiaust <29741794+Nephiaust@users.noreply.github.com>
parent 6e7c32e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment