From 858830915f43cc5f811c715831192b6b31e4d111 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Mon, 26 May 2014 11:46:41 +0200 Subject: [PATCH] Older PHP breaks on [] --- zones.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zones.php b/zones.php index 8570d89..0324ab1 100644 --- a/zones.php +++ b/zones.php @@ -192,7 +192,7 @@ if ($action == "list" or $action== "listslaves") { } $vars = $_POST; $vars['serial'] = 0; - $vars['records'] = []; + $vars['records'] = array(); _jtable_respond($vars, 'single'); } else { _jtable_respond(null, 'error', "Not enough data: ".print_r($_POST, 1));