diff --git a/application/default/controllers/AuthorController.php b/application/default/controllers/AuthorController.php index d7ac36ff..fe272e3c 100644 --- a/application/default/controllers/AuthorController.php +++ b/application/default/controllers/AuthorController.php @@ -3804,6 +3804,7 @@ class AuthorController extends Zend_Controller_Action $submit = $this->_getParam('submit'); include_once("data/Fund.php"); + include_once("helper/view.php"); $fund = new Fund($this->db); $auth = Zend_Auth::getInstance(); @@ -3821,13 +3822,13 @@ class AuthorController extends Zend_Controller_Action if(empty($uuid)) { $rows = $fund->fetch(0,true,$uid); - $fund->addPaginator($rows,$this->view,$this->_request); + view::addPaginator($rows,$this->view,$this->_request); }else{ include('data/Metadata.php'); $md = new Metadata($this->db); $this->view->md = $md->view($uuid); $rows = $fund->fetch($uuid); - $fund->addPaginator($rows,$this->view,$this->_request); + view::addPaginator($rows,$this->view,$this->_request); } return true; }