release 1.2.2

master
Jean-Christian Paul Denis 2023-04-06 00:42:29 +02:00
parent 587d261ab7
commit 68cc0f74b2
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
1.2.2 - 2023.04.06
- fix pager and count (require dc 2.26 nightly)
- fix empty submit
- use Html helper
1.2.1 - 2023.03.19
- require php 8.1
- add container for admin vars

View File

@ -18,7 +18,7 @@ $this->registerModule(
"Dotclear's logs",
'Displays Dotclear logs',
'Tomtom and Contributors',
'1.2.1',
'1.2.2',
[
'requires' => [['core', '2.26']],
'permissions' => null,

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="dcLog">
<name>Dotclear's logs</name>
<version>1.2.1</version>
<version>1.2.2</version>
<author>Tomtom and Contributors</author>
<desc>Displays Dotclear logs</desc>
<file>https://github.com/JcDenis/dcLog/releases/download/v1.2.1/plugin-dcLog.zip</file>
<file>https://github.com/JcDenis/dcLog/releases/download/v1.2.2/plugin-dcLog.zip</file>
<da:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/dcLog</da:details>
<da:support>https://github.com/JcDenis/dcLog</da:support>

View File

@ -50,7 +50,7 @@ class ManageVars
try {
$this->logs = dcCore::app()->log->getLogs($params);
$count = (int) dcCore::app()->log->getLogs($params, true)->f(0);
$count = (int) dcCore::app()->log->getLogs($params, true)->f(0);
$this->list = new BackendList($this->logs, $count);
} catch (Exception $e) {
dcCore::app()->error->add($e->getMessage());