Forum

getAccesResctiction...
 
Notifications
Retirer tout

getAccesResctictionClause ???

2 Posts
2 Utilisateurs
0 Reactions
2,999 Vu
(@lu611)
Posts: 30
Active Member
Début du sujet
 
[#2370]

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 ?


 
Posté : 17 Juin PM 18:066
(@babynus)
Posts: 14952
Membre Admin
 

Just use new Name "getAccesRestrictionClause"

("Resctiction" was a brand new work I finaly erase from my vocabulary)


 
Posté : 18 Juin AM 02:066
Share:
Retour en haut