summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-12 19:37:04 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-12 19:37:04 +0000
commitb5c18e8a17024d4af8b2ea508d5ded2570893f07 (patch)
tree305a4b33d3a3130d7589d70dc5166caa25f488b2 /modules/comment/comment.module
parent14b84fa2997b5e27046a70ac307a4241d724e466 (diff)
downloadbrdo-b5c18e8a17024d4af8b2ea508d5ded2570893f07.tar.gz
brdo-b5c18e8a17024d4af8b2ea508d5ded2570893f07.tar.bz2
- Patch 5592 by Goba: introduced a new function, drupal_map_assoc().
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index ae6e0a1e3..a206023a3 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1687,7 +1687,7 @@ function _comment_get_orders() {
}
function _comment_per_page() {
- return array(10 => 10, 30 => 30, 50 => 50, 70 => 70, 90 => 90);
+ return drupal_map_assoc(array(10, 30, 50, 70, 90));
}
?>