mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Update constructs to not have parenthesis.
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<?php
|
||||
|
||||
require_once("guest_header.php");
|
||||
require_once "guest_header.php";
|
||||
|
||||
|
||||
if (!isset($_GET['invoice_id'], $_GET['url_key'])) {
|
||||
echo "<br><h2>Oops, something went wrong! Please raise a ticket if you believe this is an error.</h2>";
|
||||
require_once("guest_footer.php");
|
||||
require_once "guest_footer.php";
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -24,7 +26,8 @@ $sql = mysqli_query(
|
||||
if (mysqli_num_rows($sql) !== 1) {
|
||||
// Invalid invoice/key
|
||||
echo "<br><h2>Oops, something went wrong! Please raise a ticket if you believe this is an error.</h2>";
|
||||
require_once("guest_footer.php");
|
||||
require_once "guest_footer.php";
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -926,4 +929,5 @@ if (mysqli_num_rows($sql) > 1) { ?>
|
||||
<?php } // End previous paid invoices
|
||||
|
||||
|
||||
require_once("guest_footer.php");
|
||||
require_once "guest_footer.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user