You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2017/05/15 17:11:04 UTC

[jira] [Resolved] (VCL-1044) getVariable returns wrong value if $incparams == 1 and variable has been set in $_SESSION['variables']

     [ https://issues.apache.org/jira/browse/VCL-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Thompson resolved VCL-1044.
--------------------------------
    Resolution: Fixed

> 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)