X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fviewsrc.php;h=1751b856f22e1928590116a4df3f75c17cb47daf;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=3fa4eaed53bad2b53686a59aef0af30acf1f5645;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/mod/viewsrc.php b/mod/viewsrc.php index 3fa4eaed53..1751b856f2 100644 --- a/mod/viewsrc.php +++ b/mod/viewsrc.php @@ -24,7 +24,7 @@ function viewsrc_content(&$a) { dbesc($item_id) ); - if(count($r)) + if(dbm::is_result($r)) if(is_ajax()) { echo str_replace("\n",'
',$r[0]['body']); killme();