Skip to content

Commit

Permalink
Merge branch '4.2-dev' into replace_factory_getapplication_in_control…
Browse files Browse the repository at this point in the history
…lers
  • Loading branch information
fancyFranci committed Jun 23, 2022
2 parents 4fa4485 + 7f1b361 commit a8a1da8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Expand Up @@ -152,6 +152,14 @@ protected function getLanguages()
}

$updateSiteXML = simplexml_load_string($response->body);

if (!$updateSiteXML)
{
Factory::getApplication()->enqueueMessage(Text::sprintf('COM_INSTALLER_MSG_ERROR_CANT_RETRIEVE_XML', $updateSite), 'error');

return;
}

$languages = array();
$search = strtolower($this->getState('filter.search'));

Expand Down
1 change: 1 addition & 0 deletions administrator/language/en-GB/com_installer.ini
Expand Up @@ -144,6 +144,7 @@ COM_INSTALLER_MSG_DISCOVER_NOEXTENSION="<strong>No extensions have been discover
COM_INSTALLER_MSG_DISCOVER_NOEXTENSIONSELECTED="No extension selected."
COM_INSTALLER_MSG_DISCOVER_PURGEDDISCOVEREDEXTENSIONS="Cleared discovered extensions."
COM_INSTALLER_MSG_ERROR_CANT_CONNECT_TO_UPDATESERVER="Can't connect to %s"
COM_INSTALLER_MSG_ERROR_CANT_RETRIEVE_XML="Can't retrieve XML from %s"
COM_INSTALLER_MSG_INSTALL_ENTER_A_URL="Please enter a URL"
COM_INSTALLER_MSG_INSTALL_INVALID_URL="Invalid URL"
COM_INSTALLER_MSG_INSTALL_INVALID_URL_SCHEME="Please enter a valid URL starting with http or https."
Expand Down

0 comments on commit a8a1da8

Please sign in to comment.