From 07c038308f5d186c19dadd24855a9b0fbaabe688 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Mon, 13 Jun 2016 19:06:59 -0600 Subject: [PATCH] Correct the variable name. --- .../resources/scripts/configuration/local_stream.conf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/local_stream.conf.lua b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/local_stream.conf.lua index 0a5423c2e6..3593d86a18 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/local_stream.conf.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/local_stream.conf.lua @@ -23,7 +23,7 @@ dbh:query(sql, function(row) --replace the variable with the path to the sounds directory - music_on_hold_path = row.music_on_hold_path:gsub("$${sounds_dir}", sound_dir); + music_on_hold_path = row.music_on_hold_path:gsub("$${sounds_dir}", sounds_dir); --build the xml ]]..row.music_on_hold_name..[[" table.insert(xml, [[ ]]);