Correct the variable name.
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@
|
|||||||
dbh:query(sql, function(row)
|
dbh:query(sql, function(row)
|
||||||
|
|
||||||
--replace the variable with the path to the sounds directory
|
--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..[["
|
--build the xml ]]..row.music_on_hold_name..[["
|
||||||
table.insert(xml, [[ <directory name="]]..row.music_on_hold_name..[[" path="]]..music_on_hold_path..[[">]]);
|
table.insert(xml, [[ <directory name="]]..row.music_on_hold_name..[[" path="]]..music_on_hold_path..[[">]]);
|
||||||
|
|||||||
Reference in New Issue
Block a user