mirror of https://github.com/itflow-org/itflow
Fix logic to always show tech dashboard if accountiong module is disabled
This commit is contained in:
parent
9a7bea6ef9
commit
6231d7b43c
|
|
@ -16,7 +16,7 @@
|
|||
<ul class="nav nav-pills nav-sidebar flex-column mt-3" data-widget="treeview" data-accordion="false">
|
||||
|
||||
<!-- Dashboard item (tech/financial) -->
|
||||
<?php if ($session_user_role == 2) { ?>
|
||||
<?php if ($session_user_role == 2 || $config_module_enable_accounting == 0) { ?>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="dashboard_technical.php" class="nav-link <?php if (basename($_SERVER["PHP_SELF"]) == "dashboard_technical.php") { echo "active"; } ?>">
|
||||
|
|
|
|||
Loading…
Reference in New Issue