From 9479ee6cc639bcb8449c48c81b4cb73dbe65e865 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Sat, 7 Oct 2023 03:05:41 -0700 Subject: [PATCH] using radius class --- system/controllers/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/settings.php b/system/controllers/settings.php index 4937769a..6d44be51 100644 --- a/system/controllers/settings.php +++ b/system/controllers/settings.php @@ -426,7 +426,7 @@ switch ($action) { if ($radius_enable) { try { - ORM::for_table('nas', 'radius')->where('setting', 'tawkto')->find_one(); + Radius::getTableNas()->find_one(1); } catch (Exception $e) { $ui->assign("error_title", "RADIUS Error"); $ui->assign("error_message", "Radius table not found.

" .