diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2008-12-19 16:14:03 (GMT) |
---|---|---|
committer | YOUR NAME <USER@develer.com> | 2009-02-11 19:07:56 (GMT) |
commit | 1fec925a9bc9cebc950b71361d622d779f78713a (patch) | |
tree | 922670cbe9a131f276e16800b2785d9d2073e4ab | |
parent | 249f8da271fab68f8a871d6b1c14d5355c047cec (diff) |
Set the categories that activities can belong to
-rw-r--r-- | site/app/controllers/developers_controller.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/site/app/controllers/developers_controller.php b/site/app/controllers/developers_controller.php index e530ae8..a06b881 100644 --- a/site/app/controllers/developers_controller.php +++ b/site/app/controllers/developers_controller.php @@ -740,6 +740,15 @@ class DevelopersController extends AppController 1 => 82 ); } + elseif ($addon['Addon']['addontype_id'] == ADDON_ACTIVITY) { + // TODO: should be fetched from the DB + $otherTags = array( + 19 => 100, + 19 => 101, + 19 => 102, + 19 => 103, + ); + } else { $otherTags = array( 1 => 73, |