Fix Include footer link in project details when no record exists
This commit is contained in:
@@ -41,7 +41,7 @@ if (isset($_GET['project_id'])) {
|
|||||||
if (mysqli_num_rows($sql_project) == 0) {
|
if (mysqli_num_rows($sql_project) == 0) {
|
||||||
echo "<center><h1 class='text-secondary mt-5'>Nothing to see here</h1><a class='btn btn-lg btn-secondary mt-3' href='projects.php'><i class='fa fa-fw fa-arrow-left'></i> Go Back</a></center>";
|
echo "<center><h1 class='text-secondary mt-5'>Nothing to see here</h1><a class='btn btn-lg btn-secondary mt-3' href='projects.php'><i class='fa fa-fw fa-arrow-left'></i> Go Back</a></center>";
|
||||||
|
|
||||||
include_once "footer.php";
|
include_once "../includes/footer.php";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user