forked from kevinowino869/mitrobill
Update customers.php
Fix Delete the Customers Attributes with the given field name, it delete all from the table which belong to other customers
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user