X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapisearchatom.php;h=b686edb00aeabb9a89e0243e23f1bf93ec6a59ae;hb=06f60b57c10c37fe6114ff09949b187e4cb2c964;hp=fdf95f1ce9fdcd8bc5290ba8d078ca8d82f25f52;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/actions/apisearchatom.php b/actions/apisearchatom.php index fdf95f1ce9..b686edb00a 100644 --- a/actions/apisearchatom.php +++ b/actions/apisearchatom.php @@ -339,7 +339,7 @@ class ApiSearchAtomAction extends ApiPrivateAuthAction $source = null; $ns = $notice->getSource(); - if ($ns) { + if ($ns instanceof Notice_source) { if (!empty($ns->name) && !empty($ns->url)) { $source = '