* Fixed the error of entryModel::getLogs.

This commit is contained in:
wangxuepeng
2023-10-25 13:41:34 +08:00
parent 74c3a032ce
commit 1c00a61424
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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();
+1
View File
@@ -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();