From ec3d108a59adb878ffc51d51d0318199015dbf17 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 2 Feb 2013 23:09:09 +0000 Subject: [PATCH] Add a missing comma to fix a bug where the install only adds two variables. To fix existing systems with this problem update the code to get thix fix then run addvanced -> upgrade schema. --- app/vars/app_defaults.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/vars/app_defaults.php b/app/vars/app_defaults.php index 2d3d96381f..d6af2315df 100644 --- a/app/vars/app_defaults.php +++ b/app/vars/app_defaults.php @@ -24,7 +24,7 @@ Mark J Crane */ -$vars_string = <<execute(); $row = $prep_statement->fetch(PDO::FETCH_ASSOC); if ($row['num_rows'] == 0) { - $result = json_decode($vars_string, true); + $result = json_decode($vars, true); $x = 1; foreach($result as $row) { $sql = "insert into v_vars ";