X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fjsonsearchresultslist.php;h=0f764a72be47e32905b195f99645bbc5cac90589;hb=f134a423f6a9e7bb61d069c4d6281c05417bbd45;hp=357ab9be5d0ac50ab35f4673d6c1df4286c3369b;hpb=220b51d8be61e9bd316567f3ad03fffdbc4b7526;p=quix0rs-gnu-social.git diff --git a/lib/jsonsearchresultslist.php b/lib/jsonsearchresultslist.php index 357ab9be5d..0f764a72be 100644 --- a/lib/jsonsearchresultslist.php +++ b/lib/jsonsearchresultslist.php @@ -264,7 +264,7 @@ class ResultItem break; default: $ns = Notice_source::getKV($source); - if ($ns) { + if ($ns instanceof Notice_source) { $source_name = '' . $ns->name . ''; } break;