From 25157b75a8a11cb761bd90cde667e2698fb49eeb Mon Sep 17 00:00:00 2001 From: Dasc3er Date: Thu, 5 Aug 2021 10:38:41 +0200 Subject: [PATCH] =?UTF-8?q?Stampa=20personalizzata=20con=20priorit=C3=A0?= =?UTF-8?q?=20rispetto=20a=20standard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Prints.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Prints.php b/src/Prints.php index dcf7833fa..83619fbbf 100755 --- a/src/Prints.php +++ b/src/Prints.php @@ -183,12 +183,12 @@ class Prints exit(); } - if (self::isOldStandard($print)) { - return self::oldLoader($infos['id'], $id_record, $directory, $return_string); - } elseif (!self::isCompletelyCustom($print)) { - return self::loader($infos['id'], $id_record, $directory, $return_string); - } else { + if (self::isCompletelyCustom($print)) { return self::customLoader($infos['id'], $id_record, $directory, $return_string); + } elseif (self::isOldStandard($print)) { + return self::oldLoader($infos['id'], $id_record, $directory, $return_string); + } else { + return self::loader($infos['id'], $id_record, $directory, $return_string); } }