forked from GNUsocial/gnu-social
Fix clone of null value
This commit is contained in:
parent
dcca04fd6f
commit
4742a2a87f
@ -1162,9 +1162,11 @@ class Notice extends Memcached_DataObject
|
||||
if($ptag->find()) {
|
||||
while($ptag->fetch()) {
|
||||
$plist = Profile_list::getByTaggerAndTag($ptag->tagger, $ptag->tag);
|
||||
if (!empty($plist)) {
|
||||
$ptags[] = clone($plist);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($ptags as $target) {
|
||||
$this->addToProfileTagInbox($target);
|
||||
|
Loading…
Reference in New Issue
Block a user