diff --git a/system/autoload/User.php b/system/autoload/User.php index 9cf47823..dfccc711 100644 --- a/system/autoload/User.php +++ b/system/autoload/User.php @@ -217,7 +217,7 @@ class User ]) ->left_outer_join('tbl_plans', ['tbl_plans.id', '=', 'tbl_user_recharges.plan_id']) ->left_outer_join('tbl_bandwidth', ['tbl_bandwidth.id', '=', 'tbl_plans.id_bw']) - ->select('tbl_bandwidth.*') + ->select('tbl_bandwidth.name_bw', 'name_bw') ->where('customer_id', $id) ->find_many(); return $d; diff --git a/ui/ui/user-ui/dashboard.tpl b/ui/ui/user-ui/dashboard.tpl index ef959a9b..8b53f904 100644 --- a/ui/ui/user-ui/dashboard.tpl +++ b/ui/ui/user-ui/dashboard.tpl @@ -111,7 +111,7 @@ {/if} - +    {if $abills && count($abills)>0}