Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/models/addon_category.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/models/addon_category.php')
-rw-r--r--site/app/models/addon_category.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/app/models/addon_category.php b/site/app/models/addon_category.php
index 0cf7677..4581b4b 100644
--- a/site/app/models/addon_category.php
+++ b/site/app/models/addon_category.php
@@ -65,6 +65,7 @@ class AddonCategory extends AppModel
if ($category == 'all') $category = array();
if (!is_array($category)) $category = array($category);
+ if ($addontype == 'all') $addontype = array();
if (!is_null($addontype) && !is_array($addontype)) $addontype = array($addontype);
$raw_addons = $this->query(