From b634470adf6adc150a44a67035b3f31804f7d28f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 3 Dec 2007 09:18:20 +0000 Subject: [PATCH] fixed problem that selected account was not available for PDF --- lam/lib/lists.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index 18d543a4..ee69571a 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -616,6 +616,9 @@ class lamList { private function showPDFPage($id) { // search for checkboxes $selAccounts = array_keys($_POST, "on"); + if (!in_array($id, $selAccounts)) { + $selAccounts[] = $id; + } $this->listPrintHeader(); @@ -645,7 +648,7 @@ class lamList { echo ''; echo ''; echo '';