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
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-06-24 09:17:16 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-24 09:17:16 +0400
commitf4277ed098c29c3b1e90eb182be32ae6051e3d95 (patch)
tree4ed7c538f258d5f18c4490ddb2a9b2dd3e093ed7 /core/Session
parent8c7a56723b5ac529d653a5941f98a76504dee472 (diff)
minor code style
Diffstat (limited to 'core/Session')
-rw-r--r--core/Session/SaveHandler/DbTable.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Session/SaveHandler/DbTable.php b/core/Session/SaveHandler/DbTable.php
index 0b91f4c366..249faca6e1 100644
--- a/core/Session/SaveHandler/DbTable.php
+++ b/core/Session/SaveHandler/DbTable.php
@@ -78,8 +78,9 @@ class DbTable implements Zend_Session_SaveHandler_Interface
. ' AND ' . $this->config['modifiedColumn'] . ' + ' . $this->config['lifetimeColumn'] . ' >= ?';
$result = Db::get()->fetchOne($sql, array($id, time()));
- if (!$result)
+ if (!$result) {
$result = '';
+ }
return $result;
}