summaryrefslogtreecommitdiff
path: root/httemplate/REST/1.0/rate_detail
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/REST/1.0/rate_detail')
-rw-r--r--httemplate/REST/1.0/rate_detail2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/REST/1.0/rate_detail b/httemplate/REST/1.0/rate_detail
index 54e55de6c..6ae503190 100644
--- a/httemplate/REST/1.0/rate_detail
+++ b/httemplate/REST/1.0/rate_detail
@@ -7,7 +7,7 @@ my $extra_sql = '';
if ( $cgi->param('countrycode') =~ /^\+?(\d+)$/ ) {
my $countrycode = $1;
$extra_sql = "
- WHERE EXISTS ( SELECT 1 rate_region
+ WHERE EXISTS ( SELECT 1 FROM rate_region
WHERE rate_detail.dest_regionnum = rate_region.regionnum
AND countrycode = '$countrycode'
";