From 4eca0098e8c833dc82992e131ca51f321eaf1eb5 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 17 Oct 2012 11:49:50 -0300 Subject: [PATCH] Change visibility of the unfortunate function. Needing/wanting to use the function in Workflow, but it's protected. --- CollectionClass.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CollectionClass.inc b/CollectionClass.inc index bd44bbe8..dd2b58d5 100644 --- a/CollectionClass.inc +++ b/CollectionClass.inc @@ -637,7 +637,7 @@ class CollectionClass { * @return int * An integer representing what the current page should be. */ - protected static function hackPager($pager_name, $per_page = NULL, $total_items = NULL) { + public static function hackPager($pager_name, $per_page = NULL, $total_items = NULL) { global $pager_total, $pager_page_array; if ($per_page !== NULL && $total_items !== NULL) {