Cannot remove a shared note
This commit is contained in:
parent
da8ec1b39c
commit
9a23ab522d
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue