Summary
Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 5/21/13 15:49
Recent Commits
>
--git a/pts-core/objects/pts_pdf_template.php b/pts-core/objects/pts_pdf_template.php
index 87c7eba..ff69d5a 100644
--- a/pts-core/objects/pts_pdf_template.php
+++ b/pts-core/objects/pts_pdf_template.php
@@ -417,7 +417,7 @@ class pts_pdf_template extends FPDF
$this->_newobj();
$this->pdf_bookmarks_outline_object_n = $this->n;
$this->_out('<</Type /Outlines /First ' . $n . ' 0 R');
- $this->_out('/Last ' . ($n + $ls[0]) . ' 0 R>>');
+ $this->_out('/Last ' . ($n + (isset($ls[0]) ? $ls[0] : 0)) . ' 0 R>>');
$this->_out('endobj');
}
public function _putresources()
<
Copyright © 2013 by Phoronix Media