Fix contract if only service modules is enabled

This commit is contained in:
Florian HENRY 2015-01-29 14:22:13 +01:00
parent ffde00de81
commit 4e14f6913a

View File

@ -1237,7 +1237,7 @@ else
* Lines of contracts
*/
if ($conf->product->enabled) {
if ($conf->product->enabled || $conf->service->enabled) {
$productstatic=new Product($db);
}