From f65108119d91883ce9240611c51d61af1e8c1cb0 Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 18 Sep 2019 17:23:05 +0200 Subject: [PATCH] fix --- dev_mvc/controller/TestUtils.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev_mvc/controller/TestUtils.php b/dev_mvc/controller/TestUtils.php index 73eaf52..f8d0032 100644 --- a/dev_mvc/controller/TestUtils.php +++ b/dev_mvc/controller/TestUtils.php @@ -5,8 +5,10 @@ class TestUtils{ public static $log = []; public static $status; public static function log($output, $status = "OK"){ - $logout = array("message" => $output, "status" => $status); - array_push(self::log, $logout); + $loginput = []; + $loginput['message'] = $output; + $loginput['status'] = $status; + array_push(self::log, $loginput); } public static function returnLog(){ echo(json_encode(self::$log));