From: kink Date: Fri, 23 Feb 2007 08:40:17 +0000 (+0000) Subject: drop call to session_register, this is redundant in PHP >4.1.0, X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=04ce247712079ef4cc2b014c07f4a0124cbfdff9;p=squirrelmail.git drop call to session_register, this is redundant in PHP >4.1.0, which we require as minimum version, and triggers a bug in PHP4.4.5 (#1664155) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12275 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/global.php b/functions/global.php index a263d6d0..73f4ef9b 100644 --- a/functions/global.php +++ b/functions/global.php @@ -93,9 +93,7 @@ function sqsession_register ($var, $name) { sqsession_is_active(); - $_SESSION["$name"] = $var; - - session_register("$name"); + $_SESSION[$name] = $var; } /**