Use isModEnabled
This commit is contained in:
parent
6ef4987766
commit
6d5bb21fa9
@ -118,7 +118,7 @@ if ($year) {
|
|||||||
$param .= '&year='.$year;
|
$param .= '&year='.$year;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($conf->tax->enabled) && $user->rights->tax->charges->lire) {
|
if (isModEnabled('tax') && $user->rights->tax->charges->lire) {
|
||||||
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||||
print '<table class="noborder centpercent">';
|
print '<table class="noborder centpercent">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user