Merge branch 'NEW/integration_GPEC_code' of github.com:atm-gauthier/dolibarr into NEW/integration_GPEC_code

This commit is contained in:
Gauthier PC portable 024 2021-10-05 12:43:56 +02:00
commit 99f331c817

View File

@ -628,7 +628,7 @@ class Evaluation extends CommonObject
public function getLastEvaluationForUser($fk_user)
{
$sql = "SELECT rowid FROM ".MAIN_DB_PREFIX."hrm_evaluation ";
$sql.= "WHERE fk_user=".((int)$fk_user)." ";
$sql.= "WHERE fk_user=".((int) $fk_user)." ";
$sql.= "ORDER BY date_eval DESC ";
$sql.= "LIMIT 1 ";