From 357df72cac92dc227bcfac8715a6f464c9f2407b Mon Sep 17 00:00:00 2001 From: jdarwood007 Date: Mon, 24 Jul 2017 18:33:16 -0700 Subject: [PATCH] Forgot to define a global, Fixes #12 Signed-off-by: jdarwood007 --- Auth_SMF.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Auth_SMF.php b/Auth_SMF.php index 9b81c05..70c75ae 100644 --- a/Auth_SMF.php +++ b/Auth_SMF.php @@ -1008,6 +1008,8 @@ public function connect() */ public function query($query) { + global $smcFunc; + $request = $smcFunc['db_query']('', $query, array(), $this->conn); if(!$request)