Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2019-11-04 03:33:03 +0300
committerGitHub <noreply@github.com>2019-11-04 03:33:03 +0300
commit9bc49289f8348ec5cfbc4430237d54fcf55517b4 (patch)
tree0fa60500eca77651093a859b3143705eab16d047 /libs
parentb048ae17d60372f6ab950197db9624a43ed62b72 (diff)
Fix zend session hides actual error when there are two or more errors… (#15095)
* Fix zend session hides actual error when there are two or more errors/notices/warnings Need to append each warning. * Adding a space to separate errors.
Diffstat (limited to 'libs')
-rw-r--r--libs/Zend/Session/Exception.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/Zend/Session/Exception.php b/libs/Zend/Session/Exception.php
index 7152792aab..734e2c45f9 100644
--- a/libs/Zend/Session/Exception.php
+++ b/libs/Zend/Session/Exception.php
@@ -55,7 +55,10 @@ class Zend_Session_Exception extends Zend_Exception
*/
static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext)
{
- self::$sessionStartError = $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
+ if (!isset(self::$sessionStartError)) {
+ self::$sessionStartError = '';
+ }
+ self::$sessionStartError .= $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr . ' ';
}
/**