X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fviewsrc.php;h=09158959065afb264d5fff39b936a78688fabd29;hb=93fb98959a798cca0eb4709a38508b7e7b6d5b9e;hp=74652dcca37ea015d9ebbbf01d1745c645197c0c;hpb=0cd241bcbe762e38e2eba0c58800eb60a2240e36;p=friendica.git diff --git a/mod/viewsrc.php b/mod/viewsrc.php index 74652dcca3..0915895906 100644 --- a/mod/viewsrc.php +++ b/mod/viewsrc.php @@ -1,5 +1,6 @@ argc > 1) ? intval($a->argv[1]) : 0); - if (! $item_id) { + if(! $item_id) { $a->error = 404; notice( t('Item not found.') . EOL); return; @@ -25,7 +26,7 @@ function viewsrc_content(App $a) { ); if (dbm::is_result($r)) - if (is_ajax()) { + if(is_ajax()) { echo str_replace("\n",'
',$r[0]['body']); killme(); } else {