summaryrefslogtreecommitdiff
path: root/classes/Status_network.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-07-28 12:13:53 -0400
committerJames Walker <walkah@walkah.net>2010-07-28 12:13:53 -0400
commit5688c635a62ea109a9aa9565e40e994ea984cd95 (patch)
tree86bc275566d018e2c9a55eeec8523b8aa098ecd7 /classes/Status_network.php
parent5daa5bc2af4bb6a56bcd71e8da01115200864ecd (diff)
backwards compatibility for old tags format in hasTag
Diffstat (limited to 'classes/Status_network.php')
-rw-r--r--classes/Status_network.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index 339f4c813..a0f3ba5f7 100644
--- a/classes/Status_network.php
+++ b/classes/Status_network.php
@@ -318,6 +318,11 @@ class Status_network extends Safe_DataObject
}
}
+ // XXX : for backwards compatibility
+ if (empty($result)) {
+ return explode('|', $this->tags);
+ }
+
return $result;
}