]> git.mxchange.org Git - friendica.git/blobdiff - mod/post.php
Merge pull request #2135 from rabuzarus/doxygen
[friendica.git] / mod / post.php
old mode 100755 (executable)
new mode 100644 (file)
index 4a7e33b..c0e783a
@@ -20,7 +20,7 @@ function post_post(&$a) {
        else {
                $nickname = $a->argv[2];
                $r = q("SELECT * FROM `user` WHERE `nickname` = '%s' 
-                               AND `account_expired` = 0 LIMIT 1",
+                               AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1",
                        dbesc($nickname)
                );
                if(! count($r))