mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix loading data after first install
This commit is contained in:
@@ -514,7 +514,7 @@ if ($action == "set")
|
|||||||
{
|
{
|
||||||
if (preg_match('/\.sql$/i',$file) && preg_match('/^llx_/i',$file))
|
if (preg_match('/\.sql$/i',$file) && preg_match('/^llx_/i',$file))
|
||||||
{
|
{
|
||||||
if (preg_match('/^llx_accounting_account_/')) continue; // We discard data file of chart of account. Will be loaded when a chart is selected.
|
if (preg_match('/^llx_accounting_account_/',$file)) continue; // We discard data file of chart of account. Will be loaded when a chart is selected.
|
||||||
|
|
||||||
//print 'x'.$file.'-'.$createdata.'<br>';
|
//print 'x'.$file.'-'.$createdata.'<br>';
|
||||||
if (is_numeric($createdata) || preg_match('/'.preg_quote($createdata).'/i',$file))
|
if (is_numeric($createdata) || preg_match('/'.preg_quote($createdata).'/i',$file))
|
||||||
|
|||||||
Reference in New Issue
Block a user