noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 22/30: Fix bug in authentication for normal u


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 22/30: Fix bug in authentication for normal user
Date: Tue, 02 Jun 2015 22:29:13 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 43c4592154157b5c6c4bdd884e98bd652aa67be6
Author: Dany De Bontridder <address@hidden>
Date:   Tue Jun 2 08:17:57 2015 +0200

    Fix bug in authentication for normal user
---
 include/class_user.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_user.php b/include/class_user.php
index 195d333..9874df1 100644
--- a/include/class_user.php
+++ b/include/class_user.php
@@ -914,7 +914,7 @@ class User
                        return 'L';
                $cn = new Database();
 
-               $dossier = $cn->get_value("select 'L' from jnt_use_dos join 
where dos_id=$1 and use_id=$2", array($p_dossier_id, $this->id));
+               $dossier = $cn->get_value("select 'L' from jnt_use_dos where 
dos_id=$1 and use_id=$2", array($p_dossier_id, $this->id));
                $dossier = ($dossier == '') ? 'X' : $dossier;
                if ($dossier == 'X')
                {



reply via email to

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