diff options
author | deva <deva> | 2010-01-28 14:22:42 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-28 14:22:42 +0000 |
commit | 4c8ff7c5787f6d35cca76e3fda0e9e4d051fe4eb (patch) | |
tree | 419aab1f9c4a33d75bd701083188ef3fcddbc753 /utils/modules/links.php | |
parent | 10267210927846619e39e76ac173d9295851b948 (diff) |
Make use of the new module parameter system.
Diffstat (limited to 'utils/modules/links.php')
-rw-r--r-- | utils/modules/links.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/modules/links.php b/utils/modules/links.php index ba68122..efa20ef 100644 --- a/utils/modules/links.php +++ b/utils/modules/links.php @@ -99,12 +99,14 @@ class Links { foreach($params as $param => $value) { if(!$param) continue; switch($param) { - case "all": - $groupid = "all"; + case "group": + $groupid = $value; break; + + case "all": default: - $groupid = $param; + $groupid = "all"; break; } } |