Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Apr 6, 2015
1 parent ca82c2f commit 03b1db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/adherents/note.php
Expand Up @@ -54,7 +54,7 @@
{
$db->begin();

$res=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES));
$res=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES), '_private');
if ($res < 0)
{
setEventMessage($object->error, 'errors');
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Expand Up @@ -1611,7 +1611,7 @@ function update_note($note,$suffix='')
}
if (! in_array($suffix,array('','_public','_private')))
{
dol_syslog(get_class($this)."::upate_note Parameter suffix must be empty, '_private' or '_public'", LOG_ERR);
dol_syslog(get_class($this)."::update_note Parameter suffix must be empty, '_private' or '_public'", LOG_ERR);
return -2;
}

Expand Down

0 comments on commit 03b1db1

Please sign in to comment.