Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 23, 2019
1 parent 74d0edf commit 633eb1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/core/class/antivir.class.php
Expand Up @@ -94,6 +94,8 @@ public function dol_avscan_file($file)
// Run CLI command. If run of Windows, you can get return with echo %ERRORLEVEL%
$lastline=exec($fullcommand, $output, $return_var);

if (is_null($output)) $output=array();

//print "x".$lastline." - ".join(',',$output)." - ".$return_var."y";exit;

/*
Expand Down

0 comments on commit 633eb1d

Please sign in to comment.