Committer: ailyin
LJSV-1668 (some errors: Error: DBD::mysql::st execute failed)U trunk/htdocs/support/help.bml
Modified: trunk/htdocs/support/help.bml =================================================================== --- trunk/htdocs/support/help.bml 2011-08-23 03:34:47 UTC (rev 19804) +++ trunk/htdocs/support/help.bml 2011-08-23 06:04:58 UTC (rev 19805) @@ -39,6 +39,7 @@ body<= <?_code +#line 43 use strict; use vars qw(%FORM); @@ -157,7 +158,8 @@ @shown_cats = map { $_->{'spcatid'} } @shown_cats; - $filterwhere = ' AND s.spcatid IN ('.join(',', @shown_cats).')'; + $filterwhere = ' AND s.spcatid IN ('. join( ',', @shown_cats ) .')' + if @shown_cats; my $dbr = LJ::get_db_reader(); if ($state eq "closed") {