From bddeeaa6136d99c36425561299604defd681b427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 5 Apr 2009 20:18:49 +0200 Subject: [PATCH] application: Initialize some array indexes --- include/application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/application.php b/include/application.php index 2ef6406..0126067 100644 --- a/include/application.php +++ b/include/application.php @@ -964,7 +964,7 @@ class Application { $sExtraTables = ''; $sWhereFilter = $oFilters ? $oFilters->getWhereClause() : ''; - $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyDownloadable' => 'false'); + $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyDownloadable' => 'false', 'appCategory' => null); if($sWhereFilter || $aOptions['onlyDownloadable'] == 'true') { @@ -1221,7 +1221,7 @@ class Application { { $sExtraTables = ''; $sWhereFilter = $oFilters ? $oFilters->getWhereClause() : ''; - $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyDownloadable' => 'false'); + $aOptions = $oFilters ? $oFilters->getOptions() : array('onlyDownloadable' => 'false', 'appCategory' => null); if($sWhereFilter || $aOptions['onlyDownloadable'] == 'true') {