Better this way
authorRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 02:06:50 +0000 (02:06 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 30 Jun 2011 02:06:50 +0000 (02:06 +0000)
inc/mysql-manager.php

index e1ed9ac..121ff9c 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;
        }