mirror of
https://github.com/itflow-org/itflow
synced 2026-03-28 00:05:40 +00:00
Convert to require_once
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
* Primary contact view: all tickets
|
* Primary contact view: all tickets
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('inc_portal.php');
|
require_once('inc_portal.php');
|
||||||
|
|
||||||
if ($session_contact_id !== $session_client_primary_contact_id) {
|
if ($session_contact_id !== $session_client_primary_contact_id) {
|
||||||
header("Location: portal_post.php?logout");
|
header("Location: portal_post.php?logout");
|
||||||
@@ -62,7 +62,7 @@ $all_tickets = mysqli_query($mysqli, "SELECT * FROM tickets LEFT JOIN contacts O
|
|||||||
$ticket_subject = htmlentities($row['ticket_subject']);
|
$ticket_subject = htmlentities($row['ticket_subject']);
|
||||||
$ticket_status = htmlentities($row['ticket_status']);
|
$ticket_status = htmlentities($row['ticket_status']);
|
||||||
$ticket_contact_name = htmlentities($row['contact_name']);
|
$ticket_contact_name = htmlentities($row['contact_name']);
|
||||||
|
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td> <a href='ticket.php?id=$ticket_id'> $ticket_prefix$ticket_id</a></td>";
|
echo "<td> <a href='ticket.php?id=$ticket_id'> $ticket_prefix$ticket_id</a></td>";
|
||||||
echo "<td> <a href='ticket.php?id=$ticket_id'> $ticket_subject</a></td>";
|
echo "<td> <a href='ticket.php?id=$ticket_id'> $ticket_subject</a></td>";
|
||||||
@@ -76,4 +76,4 @@ $all_tickets = mysqli_query($mysqli, "SELECT * FROM tickets LEFT JOIN contacts O
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once('portal_footer.php');
|
require_once('portal_footer.php');
|
||||||
|
|||||||
Reference in New Issue
Block a user