Skip to content

Commit

Permalink
Merge pull request #1542 from tdittmann/fix-jlxmlimports
Browse files Browse the repository at this point in the history
Fixed #1533
  • Loading branch information
diddipoeler committed Mar 24, 2023
2 parents 163e56a + b15e0ba commit 772c230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/models/jlxmlimport.php
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ public function importData($post)
}
}

$this->_success_text = '';
$this->_success_text = array();

//set $this->_importType
$this->_importType = $post['importType'];
Expand Down
2 changes: 1 addition & 1 deletion admin/views/jlxmlimports/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ private function _displaySelectpage($tpl)

case '3':
{ // Select Person
$mdl = BaseDatabaseModel::getInstance('persons', 'sportsmanagementModel');
$mdl = BaseDatabaseModel::getInstance('players', 'sportsmanagementModel');
$this->persons = $mdl->getPersonListSelect();
$personlist = array();
$personlist[] = HTMLHelper::_('select.option', 0, Text::_('COM_SPORTSMANAGEMENT_ADMIN_XML_IMPORT_SELECT_PERSON'));
Expand Down

0 comments on commit 772c230

Please sign in to comment.