[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 57/86: Bug : when only one extension, it fail
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 57/86: Bug : when only one extension, it fails |
Date: |
Thu, 19 Sep 2024 02:42:00 -0400 (EDT) |
sparkyx pushed a commit to branch unstable
in repository noalyss.
commit 5b8b3e19ddb63a8c205ef6a8aaf24cf55c23d694
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Sep 8 00:23:35 2024 +0200
Bug : when only one extension, it fails
---
include/class/extension.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/extension.class.php
b/include/class/extension.class.php
index e337fa9a8..9ce8ef532 100644
--- a/include/class/extension.class.php
+++ b/include/class/extension.class.php
@@ -450,7 +450,7 @@ class Extension extends Menu_Ref_sql
$aExtension=\Extension::read_definition($xml_file);
$extension=self::find_extension_code($aExtension, $plugin_code);
if ( empty($plugin_code)) return -1;
- return $extension->version;
+ return $extension->version??0;
}
- [Noalyss-commit] [noalyss] 22/86: Cosmetic, (continued)
- [Noalyss-commit] [noalyss] 22/86: Cosmetic, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 24/86: Cosmetic add inner_box2, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 30/86: RECONCILE : remove direct access to, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 29/86: Cosmetic improve widget bookmark color for hover, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 33/86: RECONCILE : remove direct access to, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 37/86: RECONCILE : VAT ND not in account, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 40/86: Fix bug CSV for P1TVA , wrong header, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 46/86: Bug : some db doesn't have the view v_quant_detail, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 49/86: Improve message, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 55/86: Merge branch 'stable' into unstable, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 57/86: Bug : when only one extension, it fails,
dwm <=
- [Noalyss-commit] [noalyss] 50/86: Translation, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 63/86: Bug : when only one extension, it fails, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 70/86: Cosmetic, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 82/86: Change color border, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 83/86: Change color border, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 81/86: Cosmetic : menu and module , animate, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 86/86: Cosmetic g_failed, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 18/86: Task #0002376: Numéro de pièce, remplissage avec des 0 code : renommage de set_pj par update_receipt, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 47/86: Improve : creation db , mod1 , mod2 and account_repository remove the alter table disable all triggers, dwm, 2024/09/19
- [Noalyss-commit] [noalyss] 08/86: CFGMENU : bug cannot update menu, dwm, 2024/09/19