forked from GNUsocial/gnu-social
backwards compatibility for old tags format in hasTag
This commit is contained in:
parent
5daa5bc2af
commit
5688c635a6
@ -318,6 +318,11 @@ class Status_network extends Safe_DataObject
|
||||
}
|
||||
}
|
||||
|
||||
// XXX : for backwards compatibility
|
||||
if (empty($result)) {
|
||||
return explode('|', $this->tags);
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user