commit f2bf3eebed3a17ace566c4c3b98a37b64a27d3cb parent 807b1454f3753d8355338e482e102420b00fc869 Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 16 Jan 2015 20:51:02 +0100 new try Diffstat:
| M | themes/jumbotron/admin.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -41,7 +41,7 @@ if ($resultat = $connection->query('SELECT email FROM allowed_user')) { $resultat->close(); } $user = "test"; -foreach ($allowed_user as $subarray){ +foreach ($resultat->fetch_object() as $subarray){ if(in_array($user, $subarray)){