Made working principle more error prone and allowed for error recovery using JS/JSON

This commit is contained in:
2019-06-18 16:57:46 +02:00
parent a30e5d76a1
commit 7f019dd740
3 changed files with 13 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class ClubsControllerParts extends BaseController
$user->setName($name);
$user->save();
$this->setRedirect('index.php?option=com_clubs&view=mypage&layout=parts&type=name');
return 'index.php?option=com_clubs&view=mypage&layout=parts&type=name';
}
}