From 68cc0f74b2b448b7f82e586954d7ff0e7c7ec620 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 6 Apr 2023 00:42:29 +0200 Subject: [PATCH] release 1.2.2 --- CHANGELOG.md | 5 +++++ _define.php | 2 +- dcstore.xml | 4 ++-- src/ManageVars.php | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1952c91..bfd8895 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/_define.php b/_define.php index 6018ba6..62f5a87 100644 --- a/_define.php +++ b/_define.php @@ -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, diff --git a/dcstore.xml b/dcstore.xml index 4549c10..796632c 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Dotclear's logs - 1.2.1 + 1.2.2 Tomtom and Contributors Displays Dotclear logs - https://github.com/JcDenis/dcLog/releases/download/v1.2.1/plugin-dcLog.zip + https://github.com/JcDenis/dcLog/releases/download/v1.2.2/plugin-dcLog.zip 2.26 https://plugins.dotaddict.org/dc2/details/dcLog https://github.com/JcDenis/dcLog diff --git a/src/ManageVars.php b/src/ManageVars.php index e3c2e8d..d70303f 100644 --- a/src/ManageVars.php +++ b/src/ManageVars.php @@ -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());