Skip to content

Commit

Permalink
Forgot to define a global, Fixes #12
Browse files Browse the repository at this point in the history
Signed-off-by: jdarwood007 <unmonitored+github@sleepycode.com>
  • Loading branch information
jdarwood007 committed Jul 25, 2017
1 parent 57d27f8 commit 357df72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Auth_SMF.php
Expand Up @@ -1008,6 +1008,8 @@ public function connect()
*/
public function query($query)
{
global $smcFunc;

$request = $smcFunc['db_query']('', $query, array(), $this->conn);

if(!$request)
Expand Down

0 comments on commit 357df72

Please sign in to comment.