summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Status_network_tag.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/Status_network_tag.php b/classes/Status_network_tag.php
index 975392c76..7dab23289 100644
--- a/classes/Status_network_tag.php
+++ b/classes/Status_network_tag.php
@@ -79,7 +79,11 @@ class Status_network_tag extends Safe_DataObject
if (Status_network::$cache) {
$packed = Status_network::$cache->get($key);
if (is_string($packed)) {
- return explode('|', $packed);
+ if ($packed == '') {
+ return array();
+ } else {
+ return explode('|', $packed);
+ }
}
}