mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-25 07:56:01 +08:00
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:
parent
08790e7295
commit
c4e702ee2f
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue