]> git.mxchange.org Git - friendica.git/commitdiff
Fix missing logical not in admin/users
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 3 Mar 2018 14:34:48 +0000 (09:34 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 3 Mar 2018 14:34:48 +0000 (09:34 -0500)
mod/admin.php

index 967893e97479f7638ba1281a4472729d3be9228e..ee1526468a30659fbb0165565f484aded8984b5b 100644 (file)
@@ -1568,7 +1568,7 @@ function admin_page_users(App $a)
        if ($a->argc > 2) {
                $uid = $a->argv[3];
                $user = dba::selectFirst('user', ['username', 'blocked'], ['uid' => $uid]);
-               if (DBM::is_result($user)) {
+               if (!DBM::is_result($user)) {
                        notice('User not found' . EOL);
                        goaway('admin/users');
                        return ''; // NOTREACHED