summaryrefslogtreecommitdiff
path: root/inc/auth/mysql.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-02-19 09:02:46 +0100
committerAndreas Gohr <andi@splitbrain.org>2011-02-19 09:02:46 +0100
commitb22b675ae4f8161cdffa97f24fa49e711ef7157d (patch)
tree59c1caf5fc79abcd71c6a8f5a7e481ba9206bd48 /inc/auth/mysql.class.php
parentbdc8e6ab491b4572e610d3495c789ac1d8b21e1b (diff)
parente7327938e66f43615da3ec05a7f9a89d8dfc0c31 (diff)
downloadrpg-b22b675ae4f8161cdffa97f24fa49e711ef7157d.tar.gz
rpg-b22b675ae4f8161cdffa97f24fa49e711ef7157d.tar.bz2
Merge branch 'master' of https://github.com/GromNaN/dokuwiki into GromNaN-master
Diffstat (limited to 'inc/auth/mysql.class.php')
-rw-r--r--inc/auth/mysql.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/mysql.class.php b/inc/auth/mysql.class.php
index dbdfe5fda..653c725a3 100644
--- a/inc/auth/mysql.class.php
+++ b/inc/auth/mysql.class.php
@@ -46,7 +46,7 @@ class auth_mysql extends auth_basic {
// set capabilities based upon config strings set
if (empty($this->cnf['server']) || empty($this->cnf['user']) ||
- empty($this->cnf['password']) || empty($this->cnf['database'])){
+ !isset($this->cnf['password']) || empty($this->cnf['database'])){
if ($this->cnf['debug'])
msg("MySQL err: insufficient configuration.",-1,__LINE__,__FILE__);
$this->success = false;