From 7b04a95eda7581d2877cf868f1afe236757bc1dc Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Tue, 4 Mar 2014 07:58:20 +0000 Subject: [PATCH] Establish jsBugFilePaths and pass that Was in wrong array format before (PHP array as string) --- lib/settings-update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/settings-update.php b/lib/settings-update.php index 59c93f0..941f3ad 100644 --- a/lib/settings-update.php +++ b/lib/settings-update.php @@ -64,6 +64,7 @@ if (!$demoMode && isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] && isset $refreshFM = $_POST['changedFileSettings']=="true" ? "true" : "false"; // With all that worked out, we can now hide the settings screen and apply the new settings - echo ""; + $jsBugFilePaths = "['".str_replace(",","','",str_replace(" ","",strClean($_POST['bugFilePaths'])))."']"; + echo ""; } ?> \ No newline at end of file