From cacd3ea423949f4483d2451f9b4b03b9d7fd29f4 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 13 Jul 2015 14:39:31 -0500 Subject: [PATCH] oops: Fix lint crash --- include/class.search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/class.search.php b/include/class.search.php index 9bdefa354..903486ba9 100644 --- a/include/class.search.php +++ b/include/class.search.php @@ -471,7 +471,8 @@ class MysqlSearchBackend extends SearchBackend { return false; // Start rebuilding the index - $this->getConfig()->set('reindex', 1); + $config = new MySqlSearchConfig(); + $config->set('reindex', 1); return true; } -- GitLab