Update dialplan.php
This commit is contained in:
parent
eb7dec52a1
commit
2826efd171
|
|
@ -865,8 +865,9 @@ include "root.php";
|
||||||
|
|
||||||
// prevent partial dialplan (pass=nil may be error in sql or empty resultset)
|
// prevent partial dialplan (pass=nil may be error in sql or empty resultset)
|
||||||
if ($pass == false) {
|
if ($pass == false) {
|
||||||
//show an error
|
if (count($results)) {
|
||||||
echo 'error while build context: ' . $this->context;
|
echo 'error while build context: ' . $this->context;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//close the extension tag if it was left open
|
//close the extension tag if it was left open
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue