Browse code

fix undefined variable

Bernd Wurst authored on31/07/2019 07:30:47
Showing1 changed files
... ...
@@ -43,7 +43,8 @@ if (! function_exists("user_has_dotcourier_domain")) {
43 43
         $ret = ($result->rowCount() > 0);
44 44
         if ($ret) {
45 45
             DEBUG("User {$uid} has dotcourier-domains");
46
+            return true;
46 47
         }
47
-        return $ret;
48
+        return false;
48 49
     }
49 50
 }