diff options
author | Christian Schneider | 2007-10-19 00:23:12 +0000 |
---|---|---|
committer | Christian Schneider | 2007-10-19 00:23:12 +0000 |
commit | d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125 (patch) | |
tree | b54725021dd8f2186d8e12b2c82c78e540c3163d /itjs.class | |
parent | 4a3691f981d61106a0e9f73a38b5ed383832b135 (diff) | |
download | itools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.tar.gz itools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.tar.bz2 itools-d5c62dfa887a4ac72fdc9fdb60cbc9d9056f7125.zip |
Skip empty filenames
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |