diff --git a/web/vesta/api/MAIN.class.php b/web/vesta/api/MAIN.class.php index bb0bfb118..b75258177 100644 --- a/web/vesta/api/MAIN.class.php +++ b/web/vesta/api/MAIN.class.php @@ -390,7 +390,7 @@ MAIL; { $pckg = array(); // json - $result = Vesta::execute(V_LIST_USER_PACKAGES, null, self::JSON); + $result = Vesta::execute(Vesta::V_LIST_USER_PACKAGES, null, self::JSON); foreach ($result['data'] as $pckg_name => $pckg_data) { $pckg[$pckg_name] = $pckg_name; }