projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ebc4d
)
Better this way
author
Roland Häder
<roland@mxchange.org>
Thu, 30 Jun 2011 02:06:50 +0000
(
02:06
+0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 30 Jun 2011 02:06:50 +0000
(
02:06
+0000)
inc/mysql-manager.php
patch
|
blob
|
history
diff --git
a/inc/mysql-manager.php
b/inc/mysql-manager.php
index e1ed9ac4ea24b8b7f0b521a8dc84e74adb107acb..121ff9c02ec240b845c8708f00e20d33ae0e92d2 100644
(file)
--- 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;
}