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/core
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-23 23:06:36 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-23 23:06:36 +0400
commit4525e579cab4f9322ed2ecaa3a419a2f91b1efd0 (patch)
tree770773b51c8fa123cdc2389c524b9933d24d4e3a /core
parent1b336b819ba67450053776e3a90848f28e2a7d74 (diff)
Fix syntax error from last build
Diffstat (limited to 'core')
-rw-r--r--core/DataAccess/ArchiveWriter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/DataAccess/ArchiveWriter.php b/core/DataAccess/ArchiveWriter.php
index e4aac89d30..e6070ae958 100644
--- a/core/DataAccess/ArchiveWriter.php
+++ b/core/DataAccess/ArchiveWriter.php
@@ -108,7 +108,7 @@ class ArchiveWriter
try { // TODO: this is temporary, remove when deadlocking issue is fixed
$db->exec($insertSql);
} catch (Exception $ex) {
- if (\Zend_Registry::get('db')->isErrNo($e, 1213)) {
+ if (\Zend_Registry::get('db')->isErrNo($ex, 1213)) {
$deadlockInfo = \Piwik\Db::fetchAll("SHOW ENGINE INNODB STATUS");
Piwik::log("DEADLOCK INFO: " . print_r($deadlockInfo));
}
@@ -268,4 +268,4 @@ class ArchiveWriter
{
return ($value === '0' || $value === false || $value === 0 || $value === 0.0);
}
-} \ No newline at end of file
+}