Skip to content

Commit

Permalink
Merge pull request #1540 from tdittmann/fix-jlxmlimports
Browse files Browse the repository at this point in the history
Fix view.html.php
  • Loading branch information
diddipoeler committed Mar 23, 2023
2 parents 7414eb6 + c97a6ea commit 0ffd2ba
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion admin/views/jlxmlimports/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,14 @@ private function _displaySelectpage($tpl)
$jinput = $app->input;
$option = $jinput->getCmd('option');
$db = sportsmanagementHelper::getDBConnection();
$uri = Factory::getURI();
if (version_compare(JSM_JVERSION, '4', 'eq'))
{
$uri = Uri::getInstance();
}
else
{
$uri = Factory::getURI();
}
$model = BaseDatabaseModel::getInstance('JLXMLImport', 'sportsmanagementmodel');
$lists = array();

Expand Down

0 comments on commit 0ffd2ba

Please sign in to comment.