summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/drivers/Cache/Database.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-16 14:57:35 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-16 14:57:35 -0800
commitade642cff4a4ca810f468723b04efc6f229916d8 (patch)
tree8fd9948212f4f28cc51e7d6e8c76b3cdd1388a87 /modules/gallery/libraries/drivers/Cache/Database.php
parent78b6da12aa08aad0fbae74bc03c1afddb609c150 (diff)
parentbf4c518bb56917b9960c67afe2893da4569a3938 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/libraries/drivers/Cache/Database.php')
-rw-r--r--modules/gallery/libraries/drivers/Cache/Database.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/libraries/drivers/Cache/Database.php b/modules/gallery/libraries/drivers/Cache/Database.php
index 43f4e38a..7e2aeabc 100644
--- a/modules/gallery/libraries/drivers/Cache/Database.php
+++ b/modules/gallery/libraries/drivers/Cache/Database.php
@@ -60,6 +60,8 @@ class Cache_Database_Driver implements Cache_Driver {
if (!empty($tags)) {
// Escape the tags, adding brackets so the tag can be explicitly matched
$tags = "<" . implode(">,<", $tags) . ">";
+ } else {
+ $tags = null;
}
// Cache Database driver expects unix timestamp