A fix for pdf report page breaks option.
authorNik Okuntseff <support@anuko.com>
Sun, 10 Mar 2019 21:35:45 +0000 (21:35 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 10 Mar 2019 21:35:45 +0000 (21:35 +0000)
WEB-INF/templates/footer.tpl
topdf.php

index 47f3965..e01ea43 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.58.4861 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.58.4862 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index f68be29..7d7a7f9 100644 (file)
--- a/topdf.php
+++ b/topdf.php
@@ -221,7 +221,7 @@ if ($totals_only) {
         if (isTrue('PDF_REPORT_PAGE_BREAKS')) {
           import('ttUserConfig');
           $uc = new ttUserConfig();
-          $use_breaks = $uc->getValue(PDF_REPORT_PAGE_BREAKS);
+          $use_breaks = $uc->getValue(SYSC_PDF_REPORT_PAGE_BREAKS);
           if ($use_breaks) $html .= '<br pagebreak="true"/>';
         }
       }