From b4f226ab9cd27274e1fa39465bd61291d0b78068 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 14 Feb 2026 16:22:09 +0100 Subject: [PATCH 1/2] set version 10.001 --- include/constant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/constant.php b/include/constant.php index 6c7b4da38..e9642d1dc 100644 --- a/include/constant.php +++ b/include/constant.php @@ -25,7 +25,7 @@ global $version_noalyss; // version -define('NOALYSS_VERSION', 10000 ); +define('NOALYSS_VERSION', 10001 ); // Database schema version define("DBVERSION", 207); From 607ab626c57a62f66ea6ebbfc9eb1633f3776488 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 21 Feb 2026 08:54:14 +0100 Subject: [PATCH 2/2] Bug 2449 : cannot remove a profil if a profil for smartphone exists --- include/profile.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/profile.inc.php b/include/profile.inc.php index f34d3223a..978ad3bcc 100644 --- a/include/profile.inc.php +++ b/include/profile.inc.php @@ -204,7 +204,9 @@ if (isset($_POST['delete_profil'])) { throw new Exception('On ne peut pas effacer le profil par défaut'); } - $new_id=$cn->get_value("delete from profile + $cn->exec_sql("delete from profile_mobile + where p_id=$1 ", array($p_id)); + $cn->exec_sql("delete from profile where p_id=$1 ", array($p_id)); $cn->commit(); }