]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
removal of useless variable
[friendica.git] / mod / editpost.php
index eccd498d154b1dcd6c2762a0d8bdb03ee92b6d92..54b50bc36de5f1f7c1619e4fdebeb475d38308cc 100644 (file)
@@ -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;
        }