diff --git a/mysql/download.cgi b/mysql/download.cgi index 47f0c28ef..d778b82c6 100755 --- a/mysql/download.cgi +++ b/mysql/download.cgi @@ -19,7 +19,7 @@ $limitsql = &get_search_limit(\%in); ($sortsql, $sorthids, $sortargs) = &get_search_sort(\%in); $d = &execute_sql($in{'db'}, - "select * from "."e_table($in{'table'})." $search $limitsql $sortsql"); + "select * from "."e_table($in{'table'})." $search $sortsql $limitsql"); # Work out the MIME type based on the data $data = $d->{'data'}->[$in{'row'}]->[$in{'col'}];