diff --git a/app/calls/calls.php b/app/calls/calls.php index 818e61242d..89cb3232b5 100644 --- a/app/calls/calls.php +++ b/app/calls/calls.php @@ -40,7 +40,7 @@ else { //add multi-lingual support $language = new text; - $text = (is_array($text)) ? array_merge($text, $language->get($_SESSION['domain']['language']['code'], 'app/ring_groups')) : $language->get(); + $text = $language->get($_SESSION['domain']['language']['code'], 'app/calls'); //begin the content require_once "resources/header.php"; diff --git a/app/ring_groups/ring_group_forward.php b/app/ring_groups/ring_group_forward.php index 39ace4b344..4440149692 100644 --- a/app/ring_groups/ring_group_forward.php +++ b/app/ring_groups/ring_group_forward.php @@ -37,7 +37,7 @@ else { //add multi-lingual support $language = new text; - $text = (is_array($text)) ? array_merge($text, $language->get($_SESSION['domain']['language']['code'], 'app/ring_groups')) : $language->get(); + $text = $language->get($_SESSION['domain']['language']['code'], 'app/ring_groups'); require_once "resources/header.php"; require_once "resources/paging.php";