aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-11-17 14:59:21 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-17 14:59:21 +0100
commit445e49db15ea7ae41dc55efea2d67903557f9182 (patch)
tree10491a3a1f1613d7333c158adb2730959f62e190 /lib
parente70e5542e477e3cbcbde775cf7a7e7016c4c6c00 (diff)
Fix Minz_Extension::getVersion (#5891)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Extension.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php
index 7063f1c04..e227eb964 100644
--- a/lib/Minz/Extension.php
+++ b/lib/Minz/Extension.php
@@ -56,7 +56,7 @@ abstract class Minz_Extension {
$this->path = $meta_info['path'];
$this->author = isset($meta_info['author']) ? $meta_info['author'] : '';
$this->description = isset($meta_info['description']) ? $meta_info['description'] : '';
- $this->version = isset($meta_info['version']) ? $meta_info['version'] : '0.1';
+ $this->version = isset($meta_info['version']) ? (string)$meta_info['version'] : '0.1';
$this->setType(isset($meta_info['type']) ? $meta_info['type'] : 'user');
$this->is_enabled = false;