Rimossa variabile inutilizzata $is_last_page

This commit is contained in:
Luca 2024-05-14 16:36:45 +02:00
parent 3c013380df
commit bf3a0a22ea
5 changed files with 4 additions and 6 deletions

View File

@ -653,8 +653,6 @@ class Prints
// Footer per l'ultima pagina // Footer per l'ultima pagina
if (!empty($options['last-page-footer'])) { if (!empty($options['last-page-footer'])) {
$is_last_page = true;
// Generazione dei contenuti del footer // Generazione dei contenuti del footer
ob_start(); ob_start();
$print_footer = self::filepath($id_print, 'footer.php'); $print_footer = self::filepath($id_print, 'footer.php');

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
if (!$is_last_page) { if (!empty($options['last-page-footer'])) {
return; return;
} }

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
if (!empty($options['last-page-footer']) && !$is_last_page) { if (!empty($options['last-page-footer'])) {
return; return;
} }

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
if (!empty($options['last-page-footer']) && !$is_last_page) { if (!empty($options['last-page-footer'])) {
return; return;
} }

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
if (!$is_last_page) { if (!empty($options['last-page-footer'])) {
return; return;
} }