diff --git a/lam/templates/config/profmanage.php b/lam/templates/config/profmanage.php
index ef59fbd4..c9e4d819 100644
--- a/lam/templates/config/profmanage.php
+++ b/lam/templates/config/profmanage.php
@@ -3,7 +3,7 @@
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
- Copyright (C) 2003 - 2011 Roland Gruber
+ Copyright (C) 2003 - 2012 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -46,7 +46,7 @@ setlanguage();
$cfg = new LAMCfgMain();
// check if submit button was pressed
-if (isset($_POST['submit'])) {
+if (isset($_POST['action'])) {
// check master password
if (!$cfg->checkPassword($_POST['passwd'])) {
$error = _("Master password is wrong!");
@@ -197,208 +197,98 @@ if (!isset($cfg->default)) {
-