diff --git a/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php b/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php
index b901bf3fe8e31475a1dc92fe9b8ab945d59d11db..e0e72dadf53ff44e4b09be149edb6c93bc04fa74 100755
--- a/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php
+++ b/apps/maarch_entreprise/class/class_business_app_tools_Abstract.php
@@ -635,7 +635,7 @@ abstract class business_app_tools_Abstract extends Database
             $_SESSION['maarch_entreprise']['database_version'] = "none";
         } else {
             $vbg = $stmt->fetchObject();
-            $_SESSION['maarch_entreprise']['database_version'] = $vbg->param_value_string;
+            $_SESSION['maarch_entreprise']['database_version'] = substr($vbg->param_value_string, 0, 5);
             $_SESSION['maarch_entreprise']['database_version_minor'] = $vbg->param_value_string;
         }
         //If this two parameters is not find, this is the end of this function
diff --git a/apps/maarch_entreprise/xml/database_version.xml b/apps/maarch_entreprise/xml/database_version.xml
index e4f1e794e92c44ec2e930ceb6f41bba78c4b90e1..260422cc6e9d4ac48e9f09e04768ec02e3c6ac62 100755
--- a/apps/maarch_entreprise/xml/database_version.xml
+++ b/apps/maarch_entreprise/xml/database_version.xml
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
 <root>
-    <database_version>18.04.1</database_version> <!-- 18.04 -->
+    <database_version>18.04</database_version> <!-- 18.04 -->
 </root>