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
if (!empty($options['last-page-footer'])) {
$is_last_page = true;
// Generazione dei contenuti del footer
ob_start();
$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/>.
*/
if (!$is_last_page) {
if (!empty($options['last-page-footer'])) {
return;
}

View File

@ -17,7 +17,7 @@
* 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;
}

View File

@ -17,7 +17,7 @@
* 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;
}

View File

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