diff --git a/system/controllers/customers.php b/system/controllers/customers.php index 0dbc1c5e..cfdf23b4 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -465,6 +465,7 @@ switch ($action) { // Delete the Customers Attributes with the given field name ORM::for_table('tbl_customers_fields') ->where('field_name', $fieldName) + ->where('customer_id', $id) ->delete_many(); } }