Skip to content
Snippets Groups Projects
Commit 47ff6a68 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Test were inverted.

parent 85436f87
No related branches found
No related tags found
No related merge requests found
......@@ -289,8 +289,8 @@ if (! isset($_SERVER['WINDIR']))
print '</form>';
}
// Module produits
if (! empty($conf->societe->enabled))
// Module products
if (! empty($conf->product->enabled))
{
$var=!$var;
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
......@@ -307,8 +307,8 @@ if (! empty($conf->societe->enabled))
print '</form>';
}
// Module produits
if (! empty($conf->product->enabled))
// Module thirdparty
if (! empty($conf->societe->enabled))
{
$var=!$var;
print "<form method=\"post\" action=\"".$_SERVER["PHP_SELF"]."\">";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment