diff --git a/app/operator_panel/index.php b/app/operator_panel/index.php
index d951976207..7aaf4d5bc1 100644
--- a/app/operator_panel/index.php
+++ b/app/operator_panel/index.php
@@ -218,7 +218,8 @@ require_once "resources/header.php";
}
//call or transfer to destination
- function go_destination(from_ext, destination, which, call_id = '') {
+ function go_destination(from_ext, destination, which, call_id) {
+ call_id = typeof call_id !== 'undefined' ? call_id : '';
if (destination != '') {
if (!isNaN(parseFloat(destination)) && isFinite(destination)) {
if (call_id == '') {
diff --git a/themes/enhanced/template.php b/themes/enhanced/template.php
index 485f6d630b..2e8d2cf123 100644
--- a/themes/enhanced/template.php
+++ b/themes/enhanced/template.php
@@ -1260,8 +1260,8 @@ legend {