runEditPagePostAction() with reference to accout container

This commit is contained in:
Roland Gruber 2014-07-12 13:39:07 +00:00
parent c40ce39bb8
commit 1129cbce33
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ class baseType {
* *
* @param accountContainer $container account container * @param accountContainer $container account container
*/ */
public function runEditPagePostAction($container) { public function runEditPagePostAction(&$container) {
} }

View File

@ -437,7 +437,7 @@ class user extends baseType {
* *
* @param accountContainer $container account container * @param accountContainer $container account container
*/ */
public function runEditPagePostAction($container) { public function runEditPagePostAction(&$container) {
// check if account status should be changed // check if account status should be changed
if (isset($_POST['lam_accountStatusResult']) && ($_POST['lam_accountStatusResult'] == 'ok')) { if (isset($_POST['lam_accountStatusResult']) && ($_POST['lam_accountStatusResult'] == 'ok')) {
// lock account // lock account