From d0e7f324898b4eaf7786c1c4cadcc12e97e2756f Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 1 Nov 2009 08:02:25 +0000 Subject: [PATCH] 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 --- functions/global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.25.1