Fix contract if only service modules is enabled
This commit is contained in:
parent
ffde00de81
commit
4e14f6913a
@ -1237,7 +1237,7 @@ else
|
||||
* Lines of contracts
|
||||
*/
|
||||
|
||||
if ($conf->product->enabled) {
|
||||
if ($conf->product->enabled || $conf->service->enabled) {
|
||||
$productstatic=new Product($db);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user