Fix contract if only service modules is enabled
This commit is contained in:
parent
ffde00de81
commit
4e14f6913a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue