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 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;
        }