Skip to content

Commit

Permalink
Fix matomo-org#6980 "Array to string conversion" notice
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored and flora edwards committed Jan 15, 2015
1 parent e415649 commit 4147c87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions libs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ third-party libraries:
- strip require_once (to support autoloading)
- in r3694, fix ZF-10888 and ZF-10835
- ZF-10871 - undefined variables when socket support disabled
- fix #6980 ("Array to string conversion") in `Zend/Session/Exception.php`
4 changes: 2 additions & 2 deletions libs/Zend/Session/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Zend_Session_Exception extends Zend_Exception
*/
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;
}

/**
Expand All @@ -68,7 +68,7 @@ static public function handleSessionStartError($errno, $errstr, $errfile, $errli
*/
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 comments on commit 4147c87

Please sign in to comment.