Fixed line length

This commit is contained in:
Ingo Schommer 2012-11-19 01:18:01 +01:00
parent d58b23d6fa
commit 65fe8e5ae3
1 changed files with 5 additions and 1 deletions

View File

@ -120,7 +120,11 @@ JS
// Category filter
if(isset($params['AppCategory'])) {
$exts = (isset(File::$app_categories[$params['AppCategory']])) ? File::$app_categories[$params['AppCategory']] : array();
if(isset(File::$app_categories[$params['AppCategory']])) {
$exts = File::$app_categories[$params['AppCategory']];
} else {
$exts = array();
}
$categorySQLs = array();
foreach($exts as $ext) $categorySQLs[] = '"File"."Name" LIKE \'%.' . $ext . '\'';
// TODO Use DataList->filterAny() once OR connectives are implemented properly