From c7349c474865499444c6c3e5fc7d20994a426279 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 26 Sep 2018 23:20:28 -0600 Subject: [PATCH] Remove extra require statements --- action.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/action.php b/action.php index dce5208..a71659e 100644 --- a/action.php +++ b/action.php @@ -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) {