Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: test/phpunit/SecurityTest.php
This commit is contained in:
commit
4f17f45e99
@ -918,7 +918,7 @@ class SecurityTest extends PHPUnit\Framework\TestCase
|
|||||||
|
|
||||||
$leftmenu = 'AAA';
|
$leftmenu = 'AAA';
|
||||||
$conf->barcode->enabled = 1;
|
$conf->barcode->enabled = 1;
|
||||||
$result=dol_eval('$conf->barcode->enabled && preg_match(\'/^(AAA|BBB)/\',$leftmenu)', 1, 1, '1');
|
$result=dol_eval('$conf->currency && preg_match(\'/^(AAA|BBB)/\',$leftmenu)', 1, 1, '1');
|
||||||
print "result = ".$result."\n";
|
print "result = ".$result."\n";
|
||||||
$this->assertTrue($result);
|
$this->assertTrue($result);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user