File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
site/views/memberships/tmpl Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,11 @@ function showError($msg) {
1919$ task = JRequest::getVar ('task ' );
2020switch ($ 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?>
You can’t perform that action at this time.
0 commit comments