diff --git a/app/hardware_phones/app_config.php b/app/hardware_phones/app_config.php
index a0697f7d41..86297c8a54 100644
--- a/app/hardware_phones/app_config.php
+++ b/app/hardware_phones/app_config.php
@@ -32,7 +32,7 @@
$apps[$x]['menu'][0]['uuid'] = 'f9dce498-b7f9-740f-e592-9e8ff3dac2a0';
$apps[$x]['menu'][0]['parent_uuid'] = 'bc96d773-ee57-0cdd-c3ac-2d91aba61b55';
$apps[$x]['menu'][0]['category'] = 'internal';
- $apps[$x]['menu'][0]['path'] = '/app/hardware_phones/v_hardware_phones.php';
+ $apps[$x]['menu'][0]['path'] = '/app/hardware_phones/hardware_phones.php';
$apps[$x]['menu'][0]['groups'][] = 'admin';
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
diff --git a/app/hardware_phones/hardware_phone_delete.php b/app/hardware_phones/hardware_phone_delete.php
index 202290790d..1cd2f40d11 100644
--- a/app/hardware_phones/hardware_phone_delete.php
+++ b/app/hardware_phones/hardware_phone_delete.php
@@ -39,8 +39,7 @@ if (count($_GET)>0) {
//delete the data
if (strlen($id)>0) {
- $sql = "";
- $sql .= "delete from v_hardware_phones ";
+ $sql = "delete from v_hardware_phones ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and hardware_phone_uuid = '$id' ";
$prep_statement = $db->prepare(check_sql($sql));
@@ -53,7 +52,7 @@ if (count($_GET)>0) {
//redirect the user
require_once "includes/header.php";
- echo "\n";
+ echo "\n";
echo "
\n";
echo "Delete Complete\n";
echo "
\n";
diff --git a/app/hardware_phones/hardware_phone_edit.php b/app/hardware_phones/hardware_phone_edit.php
index c93e7d6f13..34b11c56fb 100644
--- a/app/hardware_phones/hardware_phone_edit.php
+++ b/app/hardware_phones/hardware_phone_edit.php
@@ -173,7 +173,7 @@ require_once "includes/require.php";
//redirect the user
require_once "includes/header.php";
- echo "\n";
+ echo "\n";
echo "\n";
echo "Add Complete\n";
echo "
\n";
@@ -205,7 +205,7 @@ require_once "includes/require.php";
//redirect the user
require_once "includes/header.php";
- echo "\n";
+ echo "\n";
echo "\n";
echo "Update Complete\n";
echo "
\n";
@@ -261,7 +261,7 @@ require_once "includes/require.php";
if ($action == "update") {
echo "Hardware Phone Edit | \n";
}
- echo " | \n";
+ echo " | \n";
echo "\n";
echo "\n";
echo "| \n";
diff --git a/app/hardware_phones/hardware_phones.php b/app/hardware_phones/hardware_phones.php
index 1bb86c0b88..45536b7b68 100644
--- a/app/hardware_phones/hardware_phones.php
+++ b/app/hardware_phones/hardware_phones.php
@@ -99,7 +99,7 @@ echo th_order_by('phone_provision_enable', 'Enabled', $order_by, $order);
echo th_order_by('phone_description', 'Description', $order_by, $order);
echo " | \n";
if (permission_exists('phone_add')) {
- echo " $v_link_label_add\n";
+ echo " $v_link_label_add\n";
}
echo " | \n";
echo "
\n";
@@ -118,10 +118,10 @@ if ($result_count > 0) { //no results
echo " | ".$row['phone_description']." | \n";
echo " \n";
if (permission_exists('phone_edit')) {
- echo " $v_link_label_edit\n";
+ echo " $v_link_label_edit\n";
}
if (permission_exists('phone_delete')) {
- echo " $v_link_label_delete\n";
+ echo " $v_link_label_delete\n";
}
echo " | \n";
echo "
\n";
@@ -138,7 +138,7 @@ echo " | \n";
echo " $paging_controls | \n";
echo " \n";
if (permission_exists('phone_add')) {
- echo " $v_link_label_add\n";
+ echo " $v_link_label_add\n";
}
echo " | \n";
echo " \n";