[
https://issues.apache.org/jira/browse/VCL-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010918#comment-16010918
]
ASF subversion and git services commented on VCL-1044:
------------------------------------------------------
Commit 1795228 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1795228 ]
VCL-1044 - getVariable returns wrong value if $incparams == 1 and variable has
been set in $_SESSION['variables']
utils.php: modified getVariable: added to conditional checking for variable in
$_SESSION['variables'] to skip check and get data from database if $incparams
is passed as 1
> getVariable returns wrong value if $incparams == 1 and variable has been set
> in $_SESSION['variables']
> ------------------------------------------------------------------------------------------------------
>
> Key: VCL-1044
> URL: https://issues.apache.org/jira/browse/VCL-1044
> Project: VCL
> Issue Type: Bug
> Components: web gui (frontend)
> Reporter: Josh Thompson
> Fix For: 2.5
>
>
> getVariable attempts to return a value from $_SESSION['variables'] so that a
> query does not need to be done to get the value. If $incparams is passed as 1
> and the variable was set in $_SESSION['variables'] with just a value, the
> value is returned instead of an array.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)