application: Initialize some array indexes

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-04-05 20:18:49 +02:00
parent 56eff61b14
commit bddeeaa613

View File

@@ -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')
{