php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25134 Cache_Container_msession has typo in constructor - disallows id_length option
Submitted: 2003-08-18 17:40 UTC Modified: 2004-12-13 08:47 UTC
From: cellog@php.net Assigned: fab (profile)
Status: Closed Package: PEAR related
PHP Version: Irrelevant OS: na
Private report: No CVE-ID: None
 [2003-08-18 17:40 UTC] cellog@php.net
Description:
------------
Index: Cache/Container/msession.php
===================================================================
RCS file: /repository/pear/Cache/Container/msession.php,v
retrieving revision 1.4
diff -u -r1.4 msession.php
--- Cache/Container/msession.php	4 Jan 2003 11:54:46 -0000	1.4
+++ Cache/Container/msession.php	18 Aug 2003 22:38:16 -0000
@@ -84,7 +84,7 @@
     
     function Cache_Container_msession($options = '') {
         if (is_array($options))
-            $this->setOptions($options, array_merge($this->allowed_options, array('id_lenght', 'uniq', 'host', 'port', 'connect')));
+            $this->setOptions($options, array_merge($this->allowed_options, array('id_length', 'uniq', 'host', 'port', 'connect')));
 
         if ($connect) {            
             if (NULL == $this->host)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-13 08:47 UTC] dufuz@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Nov 25 14:01:32 2024 UTC