From 9a9be97c2cb5939b1687cb7867cc0c0a6081fefd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 12 Nov 2015 14:36:35 +0100 Subject: [PATCH] Add a log to help diagnose bad usage of method ad of event --- htdocs/comm/action/class/actioncomm.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index aa7d532025e..7c53a885043 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -196,6 +196,7 @@ class ActionComm extends CommonObject // Check parameters if (empty($this->userownerid)) { + dol_syslog("You tried to create an event but mandatory property ownerid was not defined", LOG_WARNING); $this->errors[]='ErrorPropertyUserowneridNotDefined'; return -1; }