Rimossa variabile inutilizzata $is_last_page
This commit is contained in:
parent
3c013380df
commit
bf3a0a22ea
|
@ -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');
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue