Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.1.3
-
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
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Tyson Phillips (Inactive)
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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"));
------------