diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-06-24 09:17:16 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-06-24 09:17:16 +0400 |
commit | f4277ed098c29c3b1e90eb182be32ae6051e3d95 (patch) | |
tree | 4ed7c538f258d5f18c4490ddb2a9b2dd3e093ed7 /core/Session | |
parent | 8c7a56723b5ac529d653a5941f98a76504dee472 (diff) |
minor code style
Diffstat (limited to 'core/Session')
-rw-r--r-- | core/Session/SaveHandler/DbTable.php | 3 |
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; } |