From 6264e86f9344d8f74aacaea0c4ccc6f26de3ae52 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff <support@anuko.com> Date: Sun, 10 Mar 2019 21:35:45 +0000 Subject: [PATCH] A fix for pdf report page breaks option. --- WEB-INF/templates/footer.tpl | 2 +- topdf.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 47f39655..e01ea438 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@ <br> <table cellspacing="0" cellpadding="4" width="100%" border="0"> <tr> - <td align="center"> Anuko Time Tracker 1.18.58.4861 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> | + <td align="center"> Anuko Time Tracker 1.18.58.4862 | Copyright © <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> diff --git a/topdf.php b/topdf.php index f68be29c..7d7a7f9d 100644 --- 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"/>'; } } -- 2.20.1