projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1d6211a
)
Fix for latest PHP 5.4.x changes
author
Roland Häder
<roland@mxchange.org>
Sat, 30 Jun 2012 16:02:04 +0000
(16:02 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 30 Jun 2012 16:02:04 +0000
(16:02 +0000)
inc/wrapper-functions.php
patch
|
blob
|
history
diff --git
a/inc/wrapper-functions.php
b/inc/wrapper-functions.php
index f10335f0442327aee498725935b360b2ab02f77d..5195c0c1e7c716abe6bffe17f24367b875cb2994 100644
(file)
--- a/
inc/wrapper-functions.php
+++ b/
inc/wrapper-functions.php
@@
-1232,6
+1232,12
@@
function getTotalRandomRefidUser () {
// Is given userid valid?
function isValidUserId ($userid) {
+ // Handle NULL
+ if (is_null($userid)) {
+ // Do not handle this as of below isset() will always return false
+ return false;
+ } // END - if
+
// Do we have cache?
if (!isset($GLOBALS[__FUNCTION__][$userid])) {
// Check it out