From 364050afbeca228d7af8012c1b8a4f8631367028 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 26 Apr 2006 18:57:30 +0000 Subject: [PATCH] fixed problem with PDFs (1477111) --- lam/lib/types/user.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/lib/types/user.inc b/lam/lib/types/user.inc index 83f93e79..ea10190a 100644 --- a/lam/lib/types/user.inc +++ b/lam/lib/types/user.inc @@ -131,7 +131,6 @@ class lamUserList extends lamList { * Manages all POST actions (e.g. button pressed) for the account lists. */ function listDoPost() { - parent::listDoPost(); // check if primary group should be translated if (isset($_POST['apply_trans_primary'])) { $this->trans_primary = $_POST['trans_primary']; @@ -151,6 +150,8 @@ class lamUserList extends lamList { } } } + if (isset($_POST['trans_primary'])) unset($_POST['trans_primary']); + parent::listDoPost(); } /**