2
0
Fork 0

Remove extra require statements

master
Skylar Ittner vor 6 Jahren
Ursprung d8613f0baa
Commit c7349c4748

@ -358,7 +358,6 @@ switch ($VARS['action']) {
}
break;
case "getreceipt":
require_once __DIR__ . "/lib/generatereceipt.php";
$format = "html";
$width = 48;
if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) {
@ -694,7 +693,6 @@ switch ($VARS['action']) {
returnToSender("register_saved");
case "xreport":
require_once __DIR__ . "/lib/generatereceipt.php";
$format = "html";
$width = 64;
if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) {
@ -713,7 +711,6 @@ switch ($VARS['action']) {
exit(GenerateReceipt::outputReceipt($receipt, $format, $width, "X Report"));
break;
case "zreport":
require_once __DIR__ . "/lib/generatereceipt.php";
$format = "html";
$width = 64;
if (isset($VARS['width']) && preg_match("/[0-9]+/", $VARS['width']) && (int) $VARS['width'] > 0) {

Laden…
Abbrechen
Speichern