commit
f51b4288da
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ if (constant('DOL_DATA_ROOT') === null) {
|
|||
}
|
||||
if (@file_exists($lockfile))
|
||||
{
|
||||
if (! is_object($langs))
|
||||
if (! isset($langs) || ! is_object($langs))
|
||||
{
|
||||
$langs = new Translate('..', $conf);
|
||||
$langs->setDefaultLang('auto');
|
||||
|
|
|
|||
Loading…
Reference in a new issue