diff options
author | James Walker <walkah@walkah.net> | 2010-07-28 12:13:53 -0400 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-07-28 12:13:53 -0400 |
commit | 5688c635a62ea109a9aa9565e40e994ea984cd95 (patch) | |
tree | 86bc275566d018e2c9a55eeec8523b8aa098ecd7 /classes/Status_network.php | |
parent | 5daa5bc2af4bb6a56bcd71e8da01115200864ecd (diff) |
backwards compatibility for old tags format in hasTag
Diffstat (limited to 'classes/Status_network.php')
-rw-r--r-- | classes/Status_network.php | 5 |
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; } |