From dfb261a5ca03bd3d438dcf3316eaaca7a461f325 Mon Sep 17 00:00:00 2001
From: Thomas Gelf <thomas@gelf.net>
Date: Fri, 21 Feb 2014 10:30:18 +0000
Subject: [PATCH] Don't do automagic PDF pagination per default

---
 library/Icinga/File/Pdf.php | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/library/Icinga/File/Pdf.php b/library/Icinga/File/Pdf.php
index 55510201c..060a6f268 100644
--- a/library/Icinga/File/Pdf.php
+++ b/library/Icinga/File/Pdf.php
@@ -2,13 +2,13 @@
 
 namespace Icinga\File;
 
-use \DOMPDF;
-use \DOMDocument;
-use \DOMXPath;
+use DOMPDF;
+use DOMDocument;
+use DOMXPath;
 
 require_once 'vendor/dompdf/dompdf_config.inc.php';
 
-spl_autoload_register("DOMPDF_autoload");
+spl_autoload_register('DOMPDF_autoload');
 
 class Pdf extends DOMPDF
 {
@@ -20,18 +20,19 @@ class Pdf extends DOMPDF
     public $rowsPerPage = 10;
 
     /**
-     * If tables should only start at new pages.
+     * Wether tables should only start at new pages.
      *
      * @var bool
      */
     public $tableInitialPageBreak = false;
 
     /**
-     * If occurring tables should be split up into smaller tables to avoid errors in the document layout.
+     * Whether occurring tables should be split up into smaller tables to avoid
+     * errors in the document layout.
      *
      * @var bool
      */
-    public $paginateTable = true;
+    public $paginateTable = false;
 
     public function __construct()
     {