aboutsummaryrefslogtreecommitdiffstats
path: root/functions/userauth_functions.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-07-22 02:25:41 +0000
committerChad Little <clittle@users.sourceforge.net>2004-07-22 02:25:41 +0000
commitff1aa0c968c745ec980f56bc0164c42e9ec49fb6 (patch)
tree6d0b8837a24b19c1b8f9ae07ba57eb57bfb61178 /functions/userauth_functions.php
parentb254d095fd02666b87d124e78063665b4ae55330 (diff)
downloadphpicalendar-ff1aa0c968c745ec980f56bc0164c42e9ec49fb6.tar.gz
phpicalendar-ff1aa0c968c745ec980f56bc0164c42e9ec49fb6.tar.bz2
phpicalendar-ff1aa0c968c745ec980f56bc0164c42e9ec49fb6.zip
Changes.
Diffstat (limited to 'functions/userauth_functions.php')
-rw-r--r--functions/userauth_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/userauth_functions.php b/functions/userauth_functions.php
index 403076d..4fe04fb 100644
--- a/functions/userauth_functions.php
+++ b/functions/userauth_functions.php
@@ -96,7 +96,7 @@ function user_login() {
}
// Check to make sure the username and password is valid.
- if (!key_exists("$username:$password", $locked_map)) {
+ if (!array_key_exists("$username:$password", $locked_map)) {
// Remember the invalid login, because we may want to display
// a message elsewhere or check validity.
return array($username, $password, true);

© 2014-2024 Faster IT GmbH | imprint | privacy policy