projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b0c18
)
Fixed missing array element 'last'
author
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 00:07:37 +0000
(
00:07
+0000)
committer
Roland Häder
<roland@mxchange.org>
Sun, 1 Mar 2009 00:07:37 +0000
(
00:07
+0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index d409525f8ee1a69e759dcbfe46b7ed0b398456e2..533a0f0af87c6177a981b9227f5b6528063324d2 100644
(file)
--- a/
inc/filters.php
+++ b/
inc/filters.php
@@
-433,7
+433,8
@@
function FILTER_RUN_SQLS ($data) {
// Filter for updating/validating login data
function FILTER_UPDATE_LOGIN_DATA () {
- if (!is_array($GLOBALS['last'])) $GLOBALS['last'] = array();
+ // Add missing array
+ if ((!isset($GLOBALS['last'])) || (!is_array($GLOBALS['last']))) $GLOBALS['last'] = array();
// Recheck if logged in
if (!IS_MEMBER()) return false;