diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index 6c8bb716..a172e6dc 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -407,7 +407,8 @@ class lamList { echo "\n "; } // pdf image - echo "\n "; + $pdfButtonStyle = "background-image: url(../../graphics/pdf.png);background-position: -1px -1px;background-repeat: no-repeat;width:20px;height:20px;background-color:transparent;border-style:none;"; + echo "\n "; // additional tools $tools = $this->getAdditionalTools(); for ($i = 0; $i < sizeof($tools); $i++) { @@ -470,7 +471,7 @@ class lamList { foreach ($_POST as $key => $value) { if (strpos($key, 'createPDF_') > -1) { $parts = explode("_", $key); - if (sizeof($parts) == 3) { + if (sizeof($parts) == 2) { $this->showPDFPage($parts[1]); exit; }