Project

General

Profile

Bug #6710

RightsUtilities :: get_location_by_identifier: wrong condition

Added by Anonymous about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
18/09/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

in the RightsUtitilies class (NOT its sibling the RightsUtil class): the datamanager retrieve condition is not correctly constructed:

$condition = new AndCondition($conditions);
$locations = DataManager :: retrieves(Location :: class_name(), new DataClassRetrievesParameters($root_condition, 1, 0));

$condition is ignored, and $root_condition does not exist.
Presumably this is a copy paste error and $root_condition should just be $condition

History

#1

Updated by Anonymous about 7 years ago

reference info: file rights/php/lib/rights_utilities.class.php, lines 575 - 576

Also available in: Atom PDF