X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=54b50bc36de5f1f7c1619e4fdebeb475d38308cc;hb=db2d0e009503539b134fd43837d440028d5b8de7;hp=eccd498d154b1dcd6c2762a0d8bdb03ee92b6d92;hpb=884f44ce94de8fdf26a40751dfd4b61b29765d29;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index eccd498d15..54b50bc36d 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -6,14 +6,14 @@ function editpost_content(&$a) { $o = ''; - if(! local_user()) { + if (! local_user()) { notice( t('Permission denied.') . EOL); return; } $post_id = (($a->argc > 1) ? intval($a->argv[1]) : 0); - if(! $post_id) { + if (! $post_id) { notice( t('Item not found') . EOL); return; } @@ -23,7 +23,7 @@ function editpost_content(&$a) { intval(local_user()) ); - if(! count($itm)) { + if (! count($itm)) { notice( t('Item not found') . EOL); return; }