Fix install hangs
This commit is contained in:
parent
4b0dbbc5fb
commit
8029b80f08
@ -167,7 +167,8 @@ class modProduct extends DolibarrModules
|
||||
$r++;
|
||||
*/
|
||||
|
||||
$usenpr = $mysoc->useNPR();
|
||||
$usenpr = 0;
|
||||
if (is_object($mysoc)) $usenpr = $mysoc->useNPR();
|
||||
|
||||
// Exports
|
||||
//--------
|
||||
|
||||
@ -134,7 +134,8 @@ class modService extends DolibarrModules
|
||||
$r++;
|
||||
*/
|
||||
|
||||
$usenpr = $mysoc->useNPR();
|
||||
$usenpr = 0;
|
||||
if (is_object($mysoc)) $usenpr = $mysoc->useNPR();
|
||||
|
||||
// Exports
|
||||
//--------
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
<?php
|
||||
use Sabre\VObject\Recur\EventIterator\HandleRDateExpandTest;
|
||||
|
||||
/* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
|
||||
* Copyright (C) 2005-2018 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@inodbox.com>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user