mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Fix multiple PHP warnings
This commit is contained in:
@@ -94,7 +94,7 @@ class sounds {
|
||||
if (is_array($sound_files) && @sizeof($sound_files) != 0) {
|
||||
foreach ($sound_files as $value) {
|
||||
if (substr($value, 0, 71) == "\$\${sounds_dir}/\${default_language}/\${default_dialect}/\${default_voice}/") {
|
||||
$value = substr($var, 71);
|
||||
$value = substr($value, 71);
|
||||
}
|
||||
$array['sounds'][$x]['name'] = $value;
|
||||
$array['sounds'][$x]['value'] = $value;
|
||||
|
||||
Reference in New Issue
Block a user