fix fund error
This commit is contained in:
parent
f602aca71e
commit
eeea7ce910
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue