Fix SQL group by and undefined function errors in admin APIs
This commit is contained in:
@@ -13,7 +13,7 @@ if ($role !== 'admin' && $role !== 'super_admin') {
|
||||
}
|
||||
|
||||
try {
|
||||
$countryCode = resolveAdminCountry(filterRequest('country_code'), $role, $admin_country ?? null);
|
||||
$countryCode = filterRequest('country_code');
|
||||
$proposedSpeedPrice = (float)filterRequest('speed_price');
|
||||
|
||||
if (!$countryCode || $proposedSpeedPrice <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user