Fixed wrong args passed to Service sort in delete

This commit is contained in:
Eero Jääskeläinen 2024-03-18 14:36:59 +02:00
parent ffeda6a86b
commit 8ffcb20e8e

View file

@ -205,7 +205,7 @@ class Services_model extends EA_Model
public function delete(int $service_id): void public function delete(int $service_id): void
{ {
$this->db->delete('services', ['id' => $service_id]); $this->db->delete('services', ['id' => $service_id]);
$this->sort_column('row_order'); $this->sort_column('services');
} }
/** /**