mirror of
https://github.com/itflow-org/itflow
synced 2026-03-24 22:45:36 +00:00
Fix Custom Links in the Top nav from breaking ITFlow if the database isnt updated to 1.4.6
This commit is contained in:
@@ -28,6 +28,8 @@
|
|||||||
<!-- Right navbar links -->
|
<!-- Right navbar links -->
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
|
|
||||||
|
<?php if(CURRENT_DATABASE_VERSION > '1.4.5' ) { // Check DB Version REMOVE on Decemeber 1st 2024 -Johnny ?>
|
||||||
|
|
||||||
<!--Custom Nav Link -->
|
<!--Custom Nav Link -->
|
||||||
<?php
|
<?php
|
||||||
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 2 AND custom_link_archived_at IS NULL
|
$sql_custom_links = mysqli_query($mysqli, "SELECT * FROM custom_links WHERE custom_link_location = 2 AND custom_link_archived_at IS NULL
|
||||||
@@ -56,6 +58,8 @@
|
|||||||
<?php } ?>
|
<?php } ?>
|
||||||
<!-- End Custom Nav Links -->
|
<!-- End Custom Nav Links -->
|
||||||
|
|
||||||
|
<?php } // End DB Check ?>
|
||||||
|
|
||||||
<!-- New Notifications Dropdown -->
|
<!-- New Notifications Dropdown -->
|
||||||
<?php
|
<?php
|
||||||
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
||||||
|
|||||||
Reference in New Issue
Block a user