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 <[EMAIL PROTECTED]>
 * @author     Maxim Derkachev <[EMAIL PROTECTED]>, Teodor Cimpoesu <[EMAIL PROTECTED]>,
 *             Ulf Wendel <[EMAIL PROTECTED]>
-* @version    $Id: session4_custom.inc,v 1.14 2001/05/30 13:15:12 uw Exp $
+* @version    $Id: session4_custom.inc,v 1.15 2001/05/31 14:00:34 uw Exp $
 * @package    PHPLib
 * @access     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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to