From 282bf6190ca5c54eb3054358750e7faffe17fd17 Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:21:48 +0100 Subject: [PATCH] Update Radius.php Fix Radius Delete Plan --- system/devices/Radius.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/devices/Radius.php b/system/devices/Radius.php index 437bc4f7..46cc2f31 100644 --- a/system/devices/Radius.php +++ b/system/devices/Radius.php @@ -150,7 +150,7 @@ class Radius function remove_plan($plan) { // Delete Plan - $this->getTablePackage()->where_equal('plan_id', "plan_" . $plan['id'])->delete_many(); + $this->getTablePackage()->where_equal('plan_id', $plan['id'])->delete_many(); // Reset User Plan $c = $this->getTableUserPackage()->where_equal('groupname', "plan_" . $plan['id'])->findMany(); if ($c) {