Relation rules (relation.rules.inc) uses the reset() function in relation_rules_get_endpoints() and relation_rules_get_specific_endpoints().

Reset passes by reference, so requires a variable, but these functions provide a function instead. This generates a strict warning in php5.

CommentFileSizeAuthor
#1 rules_strict_error-1842288-2.patch1.29 KBgollyg

Comments

gollyg’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB

Refactored the code slightly to assign the entities to a variable prior to using reset.

Patch attached.

mikran’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Grammatical error