[Bug 599] New - Parse error in phplib/session.inc in function thaw

bugs@bugs.horde.org bugs@bugs.horde.org
Mon, 29 Jan 2001 12:12:46 -0400


http://bugs.horde.org/show_bug.cgi?id=599

*** shadow/599	Mon Jan 29 12:12:46 2001
--- shadow/599.tmp.21397	Mon Jan 29 12:12:46 2001
***************
*** 0 ****
--- 1,31 ----
+ Bug#: 599
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: liinu@uta.fi               
+ URL: 
+ Summary: Parse error in phplib/session.inc in function thaw
+ 
+ It would seem that ;-character is in a wrong place at line 343. A simple fix for
+ this problem is this diff:
+ --- phplib/session.inc.orig     Tue Sep 26 15:06:26 2000
+ +++ phplib/session.inc  Mon Jan 29 17:20:38 2001
+ @@ -340,7 +340,7 @@
+  
+                 $vals = $this->that->ac_get_value($this->id, $this->name);
+  
+ -               eval(sprintf(";%s",$vals));
+ +               eval(sprintf("%s;",$vals));
+         }
+  
+         //
+ 
+