drop call to session_register, this is redundant in PHP >4.1.0,
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Feb 2007 08:40:17 +0000 (08:40 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Feb 2007 08:40:17 +0000 (08:40 +0000)
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

functions/global.php

index a263d6d047c86cf304ec8d068b3cbd2aa7891b00..73f4ef9b1c7f9814bcea81420878ffe980626f07 100644 (file)
@@ -93,9 +93,7 @@ function sqsession_register ($var, $name) {
 
     sqsession_is_active();
 
-    $_SESSION["$name"] = $var;
-
-    session_register("$name");
+    $_SESSION[$name] = $var;
 }
 
 /**