noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 129/323: Small bug : new structure for table


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 129/323: Small bug : new structure for table version
Date: Wed, 14 Mar 2018 17:38:37 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 84c05e8154cf278379eb9e8efca521c4fb227d5e
Author: Dany De Bontridder <address@hidden>
Date:   Tue Feb 6 21:29:21 2018 +0100

    Small bug : new structure for table version
---
 include/lib/database.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/lib/database.class.php b/include/lib/database.class.php
index edddef6..dd42934 100644
--- a/include/lib/database.class.php
+++ b/include/lib/database.class.php
@@ -378,7 +378,7 @@ class Database
 
     function get_version()
     {
-        $Res=$this->get_value("select val from version");
+        $Res=$this->get_value("select max(val) from version");
         return $Res;
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]