Skip to content

Commit

Permalink
Fix: add more debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Mar 21, 2012
1 parent 0f3f822 commit 33bf320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/categories/class/categorie.class.php
Expand Up @@ -908,11 +908,11 @@ function already_exists()
*/
if($obj[0] > 0 && $obj[0] != $this->id)
{
dol_syslog(get_class($this)."::already_exists category with name=".$this->label." exist id=".$obj[0], LOG_DEBUG);
dol_syslog(get_class($this)."::already_exists category with name=".$this->label." exist rowid=".$obj[0]." current_id=".$this->id, LOG_DEBUG);
return 1;
}
}
dol_syslog(get_class($this)."::already_exists no category with same name=".$this->label, LOG_DEBUG);
dol_syslog(get_class($this)."::already_exists no category with same name=".$this->label." rowid=".$obj[0]." current_id=".$this->id, LOG_DEBUG);
return 0;
}
else
Expand Down

0 comments on commit 33bf320

Please sign in to comment.