mirror of
https://github.com/friendica/friendica
synced 2025-04-23 13:10:16 +00:00
Removed notices that revealed themselfes over night ... (#5645)
* Removed notices that revealed themselfes over night ... * And more notices removed that occured over night * One more .. * Some more notices of the day ...
This commit is contained in:
parent
5a171c0afd
commit
54aee2aaa7
10 changed files with 43 additions and 22 deletions
|
@ -344,6 +344,10 @@ class NotificationsManager extends BaseObject
|
|||
break;
|
||||
|
||||
case ACTIVITY_FRIEND:
|
||||
if (!isset($it['object'])) {
|
||||
logger('Incomplete data: ' . json_encode($it) . ' - ' . System::callstack(20), LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
$xmlhead = "<" . "?xml version='1.0' encoding='UTF-8' ?" . ">";
|
||||
$obj = XML::parseString($xmlhead . $it['object']);
|
||||
$it['fname'] = $obj->title;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue