don't kill when no result is found, this may break communication, thanks to @annando explaining it
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
6d5826e188
commit
89bd080e7e
1 changed files with 1 additions and 6 deletions
|
@ -915,12 +915,7 @@ class dfrn {
|
|||
intval($owner["uid"]),
|
||||
dbesc(normalise_link($mention)));
|
||||
|
||||
if (!dbm::is_result($r)) {
|
||||
/// @TODO Maybe some logging?
|
||||
killme();
|
||||
}
|
||||
|
||||
if ($r[0]["forum"] OR $r[0]["prv"]) {
|
||||
if (dbm::is_result($r) AND ($r[0]["forum"] OR $r[0]["prv"])) {
|
||||
xml::add_element($doc, $entry, "link", "", array("rel" => "mentioned",
|
||||
"ostatus:object-type" => ACTIVITY_OBJ_GROUP,
|
||||
"href" => $mention));
|
||||
|
|
Loading…
Reference in a new issue