From: Roland Häder Date: Thu, 30 Jun 2011 02:06:50 +0000 (+0000) Subject: Better this way X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=e90df614889119f3a023f74b9ef51ad2bce0084e Better this way --- diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index e1ed9ac4ea..121ff9c02e 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -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; }