Skip to content
Extraits de code Groupes Projets
Valider f57171e8 rédigé par Matthieu Napoli's avatar Matthieu Napoli
Parcourir les fichiers

Fix #6980 "Array to string conversion" notice

parent 67e0bd98
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -31,3 +31,4 @@ third-party libraries: ...@@ -31,3 +31,4 @@ third-party libraries:
- strip require_once (to support autoloading) - strip require_once (to support autoloading)
- in r3694, fix ZF-10888 and ZF-10835 - in r3694, fix ZF-10888 and ZF-10835
- ZF-10871 - undefined variables when socket support disabled - ZF-10871 - undefined variables when socket support disabled
- fix #6980 ("Array to string conversion") in `Zend/Session/Exception.php`
...@@ -55,7 +55,7 @@ class Zend_Session_Exception extends Zend_Exception ...@@ -55,7 +55,7 @@ class Zend_Session_Exception extends Zend_Exception
*/ */
static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext) static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext)
{ {
self::$sessionStartError = $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr . ' ' . $errcontext; self::$sessionStartError = $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
} }
/** /**
...@@ -68,7 +68,7 @@ class Zend_Session_Exception extends Zend_Exception ...@@ -68,7 +68,7 @@ class Zend_Session_Exception extends Zend_Exception
*/ */
static public function handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext) static public function handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext)
{ {
self::$sessionStartError .= PHP_EOL . $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr . ' ' . $errcontext; self::$sessionStartError .= PHP_EOL . $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
} }
} }
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter