paheko-fork/remove_check_fees_on_service_user_import.patch

17 lines
537 B
Diff
Raw Normal View History

2024-01-19 15:39:49 +00:00
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;
}
}