Browse Source

Change visibility of the unfortunate function.

Needing/wanting to use the function in Workflow, but it's protected.
pull/180/head
Adam Vessey 12 years ago
parent
commit
4eca0098e8
  1. 2
      CollectionClass.inc

2
CollectionClass.inc

@ -637,7 +637,7 @@ class CollectionClass {
* @return int * @return int
* An integer representing what the current page should be. * 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; global $pager_total, $pager_page_array;
if ($per_page !== NULL && $total_items !== NULL) { if ($per_page !== NULL && $total_items !== NULL) {

Loading…
Cancel
Save