(Possible BUG) in Core File class.CmsRoute.php
Posted: Tue Nov 20, 2012 12:39 am
See following possible bug, present in current 1.11.3 and earlier.
The (Possible BUG) in Core File class.CmsRoute.php can be found in file:
/lib/classes/class.CmsRoute.php
Line matching the "public function OffsetUnset($key)"
starting line 113
Unless I am mistaken, the intended purpose of the function is to unset
_data[$key] not
_data[$keys].
True or false?
AG
The (Possible BUG) in Core File class.CmsRoute.php can be found in file:
/lib/classes/class.CmsRoute.php
Line matching the "public function OffsetUnset($key)"
starting line 113
Code: Select all
113 public function OffsetUnset($key)
114 {
115 if( in_array($key,self::$_keys) && isset($this->_data[$key]) ) {
116 unset($this->_data[$keys]);
117 }
118 }
_data[$key] not
_data[$keys].
True or false?
AG