Commit 69b9bd6a authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 8c21bd77
...@@ -405,7 +405,7 @@ if ($allpc) { ...@@ -405,7 +405,7 @@ if ($allpc) {
# Restrict by sitevar, but still do query to avoid mistakes. # Restrict by sitevar, but still do query to avoid mistakes.
# #
my $default_typelist = TBGetSiteVar("images/default_typelist"); my $default_typelist = TBGetSiteVar("images/default_typelist");
if (defined($default_typelist) && $default_typelist != "") { if (defined($default_typelist) && $default_typelist ne "") {
$types_querystring .= $types_querystring .=
"and (". "and (".
join(" or ", map("nt.type='$_'", split(",", $default_typelist))) . join(" or ", map("nt.type='$_'", split(",", $default_typelist))) .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment