[phplib-dev] cvs commit From: uw (phplib-dev <email protected>)
Date: 05/31/01

From: uw
Date: Thu May 31 16:00:35 2001
Modified files:
      php-lib/php/session/session4_custom.inc

Log message:
- one should not use $this->id before it's set...

Index: php-lib/php/session/session4_custom.inc
diff -u php-lib/php/session/session4_custom.inc:1.14 php-lib/php/session/session4_custom.inc:1.15
--- php-lib/php/session/session4_custom.inc:1.14 Wed May 30 15:15:12 2001
+++ php-lib/php/session/session4_custom.inc Thu May 31 16:00:34 2001
@@ -8,7 +8,7 @@
 * 2000 Teodor Cimpoesu <teo <email protected>>
 *  <email protected> Maxim Derkachev <kot <email protected>>, Teodor Cimpoesu <teo <email protected>>,
 * Ulf Wendel <uw <email protected>>
-*  <email protected> $Id: session4_custom.inc,v 1.14 2001/05/30 13:15:12 uw Exp $
+*  <email protected> $Id: session4_custom.inc,v 1.15 2001/05/31 14:00:34 uw Exp $
 *  <email protected> PHPLib
 *  <email protected> public
 */
@@ -72,6 +72,8 @@
   
     $this->set_container();
 
+ // WARNING: parent:: gave me a crash
+
     return parent::start();
   } // end func
   
@@ -136,7 +138,7 @@
   
       if ($this->module == 'user') {
         # $this->get_lock();
- return $this->that->ac_get_value($this->id, $this->name);
+ return $this->that->ac_get_value(session_id(), $this->name);
       }
       
       return true;
@@ -222,4 +224,4 @@
 
   
 } // end class Session4_Custom
-?>
\ No newline at end of file
+?>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>