release 1.2.2

This commit is contained in:
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 1.2.1 - 2023.03.19
- require php 8.1 - require php 8.1
- add container for admin vars - add container for admin vars

View File

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

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="dcLog"> <module id="dcLog">
<name>Dotclear's logs</name> <name>Dotclear's logs</name>
<version>1.2.1</version> <version>1.2.2</version>
<author>Tomtom and Contributors</author> <author>Tomtom and Contributors</author>
<desc>Displays Dotclear logs</desc> <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:dcmin>2.26</da:dcmin>
<da:details>https://plugins.dotaddict.org/dc2/details/dcLog</da:details> <da:details>https://plugins.dotaddict.org/dc2/details/dcLog</da:details>
<da:support>https://github.com/JcDenis/dcLog</da:support> <da:support>https://github.com/JcDenis/dcLog</da:support>

View File

@ -50,7 +50,7 @@ class ManageVars
try { try {
$this->logs = dcCore::app()->log->getLogs($params); $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); $this->list = new BackendList($this->logs, $count);
} catch (Exception $e) { } catch (Exception $e) {
dcCore::app()->error->add($e->getMessage()); dcCore::app()->error->add($e->getMessage());