summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorChristian Schneider2007-10-19 00:23:12 +0000
committerChristian Schneider2007-10-19 00:23:12 +0000
commitd5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125 (patch)
treeb54725021dd8f2186d8e12b2c82c78e540c3163d /itjs.class
parent4a3691f981d61106a0e9f73a38b5ed383832b135 (diff)
downloaditools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.tar.gz
itools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.tar.bz2
itools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.zip
Skip empty filenames
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";