getAccesResctictionClause : This function not exists in V5.0 ???
My query in V4.5.x :
// Where clause
$queryWhere.= ($queryWhere=='')?'':' and ';
$queryWhere.=getAccesResctictionClause('Activity',$table);
$projectList = getVisibleProjectsList(true, $_REQUEST['idProject']);
$idProject = $_REQUEST['idProject'];
if (array_key_exists('idProject',$_REQUEST) and $_REQUEST['idProject']!=' ') {
$queryWhere.= ($queryWhere=='')?'':' and ';
$queryWhere.= $table . ".idProject = " . $idProject ;
}
It doesn't work in V5.0 :sick:
What is the solution ?
Just use new Name "getAccesRestrictionClause"
("Resctiction" was a brand new work I finaly erase from my vocabulary)