Project

General

Profile

Actions

Bug #3157

closed

Substitutions from user object as array returns null for gids and viewaccesslevel is missing as field-name

Added by krileon almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
18 January 2012
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

When substituting a user object variable (gids) the result is null as it is an array. This happens because direct user object substitutions aren't processed into val1|*|val2. Proposed patch is to move the is_array check and processing directly after $val is obtained so it applies to field substitutions and user object substitutions.

https://www.joomlapolis.com/forum/153-professional-member-support/185697-replacement-for-hider?limit=6&start=6


Files

plugin.foundation.php (123 KB) plugin.foundation.php krileon, 18 January 2012 15:29
3157.patch (2.36 KB) 3157.patch krileon, 18 January 2012 15:59
3157_rev1.patch (2.13 KB) 3157_rev1.patch krileon, 07 February 2012 19:34
Actions

Also available in: Atom PDF