summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs.class b/itjs.class
index bbeb618..4b1b2b2 100644
--- a/itjs.class
+++ b/itjs.class
@@ -115,7 +115,7 @@ function filenames($filelist)
"prettyprint.css" => "$searchlib/prettyprint.css",
);
- foreach (explode(",", it::replace(array('\?.*' => ""), $filelist)) as $file)
+ foreach (array_filter(explode(",", it::replace(array('\?.*' => ""), $filelist))) as $file)
{
$filenames = $special[$file] ? $special[$file] : "$path/$file";