backwards compatibility for old tags format in hasTag

This commit is contained in:
James Walker 2010-07-28 12:13:53 -04:00
parent 5daa5bc2af
commit 5688c635a6

View File

@ -318,6 +318,11 @@ class Status_network extends Safe_DataObject
}
}
// XXX : for backwards compatibility
if (empty($result)) {
return explode('|', $this->tags);
}
return $result;
}