You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (! empty ($labels))
{
foreach ($labels as $label) {
$extens[] = array('destination' => 'injection-'.$r[0].',${EXTEN},'.$label[0], 'description' => $r[1].'-'.$label[0]);
} }
.
.
.
. if (! empty ($cmdlist))
{
foreach ($cmdlist as $val) {
// $currentcomponent->addguielem('Commands', new gui_textbox('commands['.$val[0].']', $val[1], 'Command', 'This command will be injected into the dialplan.', '','', false),3);
$cmdtext .= $val[1]."\n";
} }
The text was updated successfully, but these errors were encountered:
Warning: Invalid argument supplied for foreach () in /var/www/html/admin/modules/dialplaninjection/functions.inc.php on line 169
https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=http%3A%2F%2Fwww.asterisk-france.org%2Farchive%2Findex.php%2Ft-317.html
fixed functions.inc.php
if (! empty ($labels))
{
foreach ($labels as $label) {
$extens[] = array('destination' => 'injection-'.$r[0].',${EXTEN},'.$label[0], 'description' => $r[1].'-'.$label[0]);
}
}
.
.
.
.
if (! empty ($cmdlist))
{
foreach ($cmdlist as $val) {
// $currentcomponent->addguielem('Commands', new gui_textbox('commands['.$val[0].']', $val[1], 'Command', 'This command will be injected into the dialplan.', '','', false),3);
$cmdtext .= $val[1]."\n";
}
}
The text was updated successfully, but these errors were encountered: