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

Fixed deprecated warning on log


Added check of array to be a minimum of 2

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

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

Signed-off-by: default avatarNephiaust <29741794+Nephiaust@users.noreply.github.com>
parent cb8bd37a
Pipeline #13854 passed with stage
in 16 seconds
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