Skip to content

Action "Address: Get country or state/province from ID" crashes due to incorrect parameter usage

"Address: Get country or state/province from ID" crashes due to incorrect parameter usage. Tries to use array_pop on the results of a getParameter for a string, which is in error because:

  1. You can only call array_pop on an array variable (i.e. not the results of a function)
  2. The "value" parameter (Integer type, multiple) is returned as a string when there's only one value.

Not entirely sure why it's specified as multiple when it just pops the last item off anyway, either.

Agileware Ref: CVAP-22

Merge request reports

Loading