summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
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')) {