Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 1, 2019
1 parent 6512435 commit 5a71976
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/modules/import/import_xlsx.modules.php
Expand Up @@ -622,7 +622,7 @@ public function import_insert($arrayrecord, $array_match_file_to_database, $obji
if (! empty($objimport->array_import_regex[0][$val]) && ($newval != ''))
{
// If test is "Must exist in a field@table or field@table:..."
if (preg_match('/^(.+)@([^:]+)(:.+)?$/',$objimport->array_import_regex[0][$val],$reg))
if (preg_match('/^(.+)@([^:]+)(:.+)?$/', $objimport->array_import_regex[0][$val], $reg))
{
$field=$reg[1];
$table=$reg[2];
Expand Down
1 change: 0 additions & 1 deletion test/phpunit/HolidayTest.php
Expand Up @@ -365,5 +365,4 @@ public function testUpdateBalance()

$localobjecta->updateBalance();
}

}

0 comments on commit 5a71976

Please sign in to comment.