From d6c517bba6f7b796c8b0efbd382ad5575e8e869f Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Tue, 24 Oct 2017 22:40:25 +0200 Subject: [PATCH] refactor: this would use a database index --- GameEngine/Automation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index f8a54631..d9139e2f 100755 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -4249,7 +4249,7 @@ $wallimg = " 0"; $array = $database->query_return($q); foreach($array as $user) { $numusers = mysqli_query($GLOBALS['link'],"SELECT * FROM ".TB_PREFIX."users WHERE id = ".(int) $user['invited']);