diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2008-12-19 16:14:03 (GMT) |
---|---|---|
committer | David Farning <dfarning@gmail.com> | 2009-03-21 00:19:24 (GMT) |
commit | 8b0f2fff1ae2a543fbe08bd80d5c294b7e2e916c (patch) | |
tree | 588278e54f6eb8deab71c9546abd5122e8c26b1a | |
parent | 939dc5add55287c30e569912dbe0a1e1221a921e (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 91627fc..21c955d 100644 --- a/site/app/controllers/developers_controller.php +++ b/site/app/controllers/developers_controller.php @@ -747,6 +747,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, |