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

Pending services activated manually use the module when not selected to

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4, 3.2.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When attempting to activate a pending service in the admin interface, unchecking "Use Module" and activating the service still attempts to use the module.

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment - - edited

        To fix yourself, update /app/controllers/admin_clients.php

        Assuming you are running v3.1.3, find line 3472:
        -------------
        if (!empty($this->post)) {
        $this->Services->edit($service->id, $this->post, false, (isset($this->post['notify_order']) && $this->post['notify_order'] == "true"));
        ------------

        and change it to:

        ------------
        if (!empty($this->post)) {
        if (!isset($this->post['use_module']))
        $this->post['use_module'] = "false";
        $this->Services->edit($service->id, $this->post, false, (isset($this->post['notify_order']) && $this->post['notify_order'] == "true"));
        ------------

        Show
        tyson Tyson Phillips (Inactive) added a comment - - edited To fix yourself, update /app/controllers/admin_clients.php Assuming you are running v3.1.3, find line 3472: ------------- if (!empty($this->post)) { $this->Services->edit($service->id, $this->post, false, (isset($this->post ['notify_order'] ) && $this->post ['notify_order'] == "true")); ------------ and change it to: ------------ if (!empty($this->post)) { if (!isset($this->post ['use_module'] )) $this->post ['use_module'] = "false"; $this->Services->edit($service->id, $this->post, false, (isset($this->post ['notify_order'] ) && $this->post ['notify_order'] == "true")); ------------

          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:
              23/Apr/14