Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1419

Remove unnecessary $vars requirements for States::edit

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      States::edit currently requires 'country_alpha2' and 'code' attributes twice, both passed directly to the method, and also in the subsequent $vars parameter. However, only the name can of the state can be updated. So those values should be removed from $vars and rule validation.

        Activity

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/14