From b5c18e8a17024d4af8b2ea508d5ded2570893f07 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 12 Feb 2004 19:37:04 +0000 Subject: - Patch 5592 by Goba: introduced a new function, drupal_map_assoc(). --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') 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)); } ?> -- cgit v1.2.3