summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-09-23 22:36:09 +0200
committerchris <chris@jalakai.co.uk>2006-09-23 22:36:09 +0200
commitbb4866bd74ec6b55bf41e75c158d940dced91f2f (patch)
treefd3bf3458189d8ef7d5854720af2f825fd874d28 /inc/auth.php
parenta424cd8e52ec6e1e860e19467c8cea23871f611f (diff)
downloadrpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.gz
rpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.bz2
minor bugfix and boring error removal
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 63f84e141..987de8595 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -543,7 +543,7 @@ function updateprofile() {
global $lang;
global $auth;
- if(!$_POST['save']) return false;
+ if(empty($_POST['save'])) return false;
// should not be able to get here without Profile being possible...
if(!$auth->canDo('Profile')) {