From 704233dbbd7f2a7dfba11785796b0eb3e0837e88 Mon Sep 17 00:00:00 2001 From: max-dreamsoft Date: Sun, 7 Apr 2019 15:23:03 +0300 Subject: [PATCH] fix config absence --- includes/IPBAuth.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/IPBAuth.php b/includes/IPBAuth.php index 2c386e1..9b1db23 100644 --- a/includes/IPBAuth.php +++ b/includes/IPBAuth.php @@ -233,6 +233,7 @@ public static function updateUser(&$user) */ public static function userExists($username) { + $cfg = IPBAuth::getConfig(); $sql = IPBAuth::getSQL(); try { if ($sql->connect_errno) {