* Fixed the error of entryModel::getLogs.
This commit is contained in:
@@ -83,7 +83,7 @@ class entryTest
|
||||
*/
|
||||
public function getLogsTest($id, $orderBy = 'date_desc', $pager = null)
|
||||
{
|
||||
$object = $this->objectModel->getLogs($id, $orderBy, $paper);
|
||||
$object = $this->objectModel->getLogs($id, $orderBy, $pager);
|
||||
|
||||
if(dao::isError()) return dao::getError();
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ include dirname(__FILE__, 5) . '/test/lib/init.php';
|
||||
include dirname(__FILE__, 2) . '/entry.class.php';
|
||||
su('admin');
|
||||
|
||||
zdTable('log')->gen(10);
|
||||
/**
|
||||
|
||||
title=entryModel->getLogs();
|
||||
|
||||
Reference in New Issue
Block a user