noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 02/02: Cannot remove a shared note


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/02: Cannot remove a shared note
Date: Thu, 21 Jan 2016 17:17:02 +0000

sparkyx pushed a commit to annotated tag rel6914
in repository noalyss.

commit 9a23ab522d58542568a58b9acf13c353bcee555e
Author: Dany De Bontridder <address@hidden>
Date:   Thu Jan 21 18:08:40 2016 +0100

    Cannot remove a shared note
---
 include/constant.security.php          |    4 ++--
 include/template/todo_list_display.php |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/constant.security.php b/include/constant.security.php
index 1c87b6c..e27420d 100644
--- a/include/constant.security.php
+++ b/include/constant.security.php
@@ -27,7 +27,7 @@ define ('PARCATDOC',1050);   // modifier type document pour 
follow up
 define ('RMRECEIPT',1110);   // Effacer un document d'une pièce comptable
 define ('RMOPER',1120);   // Effacer une opération comptable
 define ('SHARENOTE',1210); // Can share a note
-define ('SHARENOTEPUBLIC',1230); // Can create public note
-define ('SHARENOTEREMOVE',1240); // Can drop drop of other
+define ('SHARENOTEPUBLIC',1220); // Can create public note
+define ('SHARENOTEREMOVE',1230); // Can drop drop of other
 global $audit; $audit=false;
 ?>
diff --git a/include/template/todo_list_display.php 
b/include/template/todo_list_display.php
index 38eb214..ae7ad71 100644
--- a/include/template/todo_list_display.php
+++ b/include/template/todo_list_display.php
@@ -63,7 +63,7 @@ echo 
HtmlInput::title_box("Note","todo_list_div".$this->tl_id,'close',$close_sha
         <?php
         // Section about Public note
         // display only if priv granted
-        if ($g_user->check_action(SHARENOTEPUBLIC)):
+        if ($g_user->check_action(SHARENOTEPUBLIC) == 1):
         ?>
         <tr>
             <td>



reply via email to

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