From ed61eeebcd0361346540515bf16f93b908af8658 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 15 Nov 2022 15:42:49 +0100 Subject: [PATCH] Disable all other station profiles on activating one --- application/models/Stations.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/models/Stations.php b/application/models/Stations.php index 07bd4b7a..53d1ab0c 100644 --- a/application/models/Stations.php +++ b/application/models/Stations.php @@ -182,7 +182,6 @@ class Stations extends CI_Model { 'station_active' => null, ); $this->db->where('user_id', $this->session->userdata('user_id')); - $this->db->where('station_id', $clean_current); $this->db->update('station_profile', $current_default); // Deselect current default