Fix: Test were inverted.
This commit is contained in:
parent
85436f871c
commit
47ff6a68bb
@ -289,8 +289,8 @@ if (! isset($_SERVER['WINDIR']))
|
|||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Module produits
|
// Module products
|
||||||
if (! empty($conf->societe->enabled))
|
if (! empty($conf->product->enabled))
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
|
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
|
||||||
@ -307,8 +307,8 @@ if (! empty($conf->societe->enabled))
|
|||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Module produits
|
// Module thirdparty
|
||||||
if (! empty($conf->product->enabled))
|
if (! empty($conf->societe->enabled))
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
|
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user