User packages fixed. (Bug affected user edit functionality.)

This commit is contained in:
Malishev Dmitry 2011-12-29 15:17:01 +03:00
commit 476c1e2a44

View file

@ -390,7 +390,7 @@ MAIL;
{ {
$pckg = array(); $pckg = array();
// json // 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) { foreach ($result['data'] as $pckg_name => $pckg_data) {
$pckg[$pckg_name] = $pckg_name; $pckg[$pckg_name] = $pckg_name;
} }