From cdd76b411149d6d7b60145fc079f8e7de4ecb590 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 23 Oct 2012 21:54:06 +0000 Subject: [PATCH] Fix the destination column name and deprecated field name. --- app/destinations/app_config.php | 2 +- app/destinations/destinations.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index e705cd6606..a854f1ea31 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -86,7 +86,7 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the type.'; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'destination_number'; - $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destination_number'; + $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'destination_extension'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the number.'; $z++; diff --git a/app/destinations/destinations.php b/app/destinations/destinations.php index fefe81a19f..d363e8a511 100644 --- a/app/destinations/destinations.php +++ b/app/destinations/destinations.php @@ -101,7 +101,7 @@ require_once "includes/paging.php"; echo "
\n"; echo "\n"; echo "\n"; - echo th_order_by('destination_type', 'Name', $order_by, $order); + echo th_order_by('destination_type', 'Type', $order_by, $order); echo th_order_by('destination_number', 'Destination', $order_by, $order); echo th_order_by('destination_context', 'Context', $order_by, $order); echo th_order_by('destination_enabled', 'Enabled', $order_by, $order);