From: pdontthink Date: Sun, 1 Nov 2009 08:02:25 +0000 (+0000) Subject: NULL not accepted as a replacement for empty arrays as of PHP 5.3 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d0e7f324898b4eaf7786c1c4cadcc12e97e2756f;p=squirrelmail.git NULL not accepted as a replacement for empty arrays as of PHP 5.3 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13870 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/global.php b/functions/global.php index a48ab279..5c9f497f 100644 --- a/functions/global.php +++ b/functions/global.php @@ -115,7 +115,7 @@ function sqstripslashes(&$array) { * executed will be returned. * */ -function sq_call_function_suppress_errors($function, $args=NULL) { +function sq_call_function_suppress_errors($function, $args=array()) { global $sm_debug_mode; $display_errors = ini_get('display_errors');