]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Better this way
[mailer.git] / inc / mysql-manager.php
index e1ed9ac4ea24b8b7f0b521a8dc84e74adb107acb..121ff9c02ec240b845c8708f00e20d33ae0e92d2 100644 (file)
@@ -444,8 +444,11 @@ function fetchUserData ($value, $column = 'userid') {
                        // Use cache, so it is fine
                        return true;
                }
-       } elseif ((isUserDataValid()) || (!isExtensionActive('user'))) {
-               // Using cache or absend ext-user is fine here
+       } elseif (!isExtensionActive('user')) {
+               // Absent ext-user is really not good
+               return false;
+       } elseif (isUserDataValid())  {
+               // Using cache is fine
                return true;
        }