noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 06/06: #1118 : Bug note non affichée


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 06/06: #1118 : Bug note non affichée
Date: Tue, 26 May 2015 22:31:07 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit ce253d6759a78dde963a21c31d2ecc74a7d1ca0b
Author: Dany De Bontridder <address@hidden>
Date:   Wed May 27 00:27:18 2015 +0200

    #1118 : Bug note non affichée
---
 include/class_todo_list.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class_todo_list.php b/include/class_todo_list.php
index 8af6ab4..0f47b7f 100644
--- a/include/class_todo_list.php
+++ b/include/class_todo_list.php
@@ -197,7 +197,7 @@ class Todo_List
              where 
                 use_login=$1
                 or is_public = 'Y'
-                or tl_id in (select tl_id from todo_list_shared where 
use_login=$1)
+                or tl_id in (select todo_list_id from todo_list_shared where 
use_login=$1)
              order by tl_date::date desc";
         $res=$this->cn->exec_sql(
                  $sql,
@@ -210,11 +210,11 @@ class Todo_List
     {
 
         $sql="select tl_id,tl_title,tl_desc,to_char( tl_date,'DD.MM.YYYY') as 
tl_date,is_public
-             from todo_list where tl_id=$1 and use_login=$2";
+             from todo_list where tl_id=$1 ";
 
         $res=$this->cn->exec_sql(
                  $sql,
-                 array($this->tl_id,$_SESSION['g_user'])
+                 array($this->tl_id)
              );
 
         if ( Database::num_row($res) == 0 ) return;



reply via email to

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