Skip to content

Commit 6142b86

Browse files
committed
Rename for address label
1 parent 8b3c8c6 commit 6142b86

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

site/views/memberships/tmpl/addresslabel.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,11 @@ function showError($msg) {
1919
$task = JRequest::getVar('task');
2020
switch ($task) {
2121
case 'input':
22-
echo $this->loadTemplate('save');
22+
echo $this->loadTemplate('input');
2323
break;
2424
case 'create_pdf':
2525
default:
26-
$uri = JFactory::getURI();
27-
$id = $uri->getVar('id');
28-
if (!$id) $id = JRequest::getVar('id');
29-
if (!$id) {
30-
$id_list = $this->getModel()->getPersonIdListForCurrentUser();
31-
} else {
32-
$id_list = array($id);
33-
}
34-
if (count($this->idList) < 1) showError(JText::_('COM_CLUBMANAGEMENT_ERROR_PERSON_EDIT_NO_RECORD'));
35-
if (count($this->idList) == 1) echo $this->loadTemplate('edit');
36-
if (count($this->idList) > 1) echo $this->loadTemplate('list');
26+
$id_list = $this->getModel()->getPersonIdListForCurrentUser();
3727
break;
3828
}
3929
?>

0 commit comments

Comments
 (0)