Add user who modified the percent

This commit is contained in:
Lenin Rivas 2022-06-12 06:33:42 -05:00 committed by GitHub
parent b57a9d5896
commit 503a5cdc82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2513,9 +2513,10 @@ class ActionComm extends CommonObject
*
* @param int $id The id of the event
* @param int $percent The new percent value for the event
* @param int $usermodid The user who modified the percent
* @return int 1 when update of the event was suscessfull, otherwise -1
*/
public function updatePercent($id, $percent, $usermodid)
public function updatePercent($id, $percent, $usermodid = 0)
{
$this->db->begin();