public static function getZonesDropdown() { $result = array(); $result = lC_AddressBook::getZonesDropdownHtml($_GET['country'], $_GET['zone']); if (is_array($result)) { $result['rpcStatus'] = '1'; } echo json_encode($result); }