diff options
| author | ivan <ivan> | 2010-06-06 03:01:48 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2010-06-06 03:01:48 +0000 |
| commit | 3fae333d75dc458423644720f8b2e4f500e8a72d (patch) | |
| tree | 317b4a486d53c6e161439cdc52ec463f61bfe915 /httemplate/search/elements | |
| parent | 36ed9a9b42e9e544fab07139069c40cbb5e0d5ab (diff) | |
fix sql query, RT#8035
Diffstat (limited to 'httemplate/search/elements')
| -rw-r--r-- | httemplate/search/elements/search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html index b97a9b321..3c5ff687f 100644 --- a/httemplate/search/elements/search.html +++ b/httemplate/search/elements/search.html @@ -332,7 +332,7 @@ if ( $opt{'disableable'} ) { my $limit = ''; my($confmax, $maxrecords, $offset ); -if ( !$type =~ /^(csv|\w*.xls)$/) { +unless ( $type =~ /^(csv|\w*.xls)$/) { # html mode unless (exists($opt{count_query}) && length($opt{count_query})) { ( $opt{count_query} = $opt{query} ) =~ |
