paheko-fork/remove_check_fees_on_service_user_import.patch
2024-01-19 16:39:49 +01:00

16 lines
537 B
Diff

Index: src/include/lib/Paheko/Services/Services_User.php
==================================================================
--- src/include/lib/Paheko/Services/Services_User.php
+++ src/include/lib/Paheko/Services/Services_User.php
@@ -142,11 +142,11 @@
$id_fee = null;
if (!empty($row->fee)) {
foreach ($fees as $fee) {
- if (strcasecmp($fee->label, $row->fee) === 0 && $fee->id === $id_service) {
+ if (strcasecmp($fee->label, $row->fee) === 0) {
$id_fee = $fee->id;
break;
}
}