Forum

getAccesResctiction...
 
Notifications
Clear all

getAccesResctictionClause ???

2 Posts
2 Users
0 Reactions
3,000 Views
(@lu611)
Posts: 30
Active Member
Topic starter
 
[#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 ?


 
Posted : 17 Jun 2015 18H24
(@babynus)
Posts: 14952
Member Admin
 

Just use new Name "getAccesRestrictionClause"

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


 
Posted : 18 Jun 2015 2H22
Share:

Scroll to Top