From 403ab64339e95dfba97eb311eae55a15f982a79d Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 15 Apr 2016 18:07:47 -0600 Subject: [PATCH] Add missing 'this' --- resources/classes/switch_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/classes/switch_settings.php b/resources/classes/switch_settings.php index 734b79c5c2..6fae05f386 100644 --- a/resources/classes/switch_settings.php +++ b/resources/classes/switch_settings.php @@ -250,7 +250,7 @@ if (!class_exists('switch_settings')) { } $i++; } - $db->exec(check_sql($sql)); + $this->db->exec(check_sql($sql)); unset($missing); }