Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-1044

getVariable returns wrong value if $incparams == 1 and variable has been set in $_SESSION['variables']

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: web gui (frontend)
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jfthomps Josh Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: