Skip to content

Commit 8ad8675

Browse files
authored
Fix spacing in type casting for variable $s
1 parent 354cc90 commit 8ad8675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htdocs/core/lib/functions.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11206,7 +11206,7 @@ function dol_eval_standard($s, $returnvalue = 1, $hideerrors = 1, $onlysimplestr
1120611206
if (!in_array($onlysimplestring, array('0', '1', '2'))) {
1120711207
return "Bad call of dol_eval. Parameter onlysimplestring must be '0' (deprecated), '1' or '2'";
1120811208
}
11209-
$s = (string)$s;
11209+
$s = (string) $s;
1121011210
try {
1121111211
// Test on dangerous char (used for RCE), we allow only characters to make PHP variable testing
1121211212
if ($onlysimplestring == '1' || $onlysimplestring == '2') {

0 commit comments

Comments
 (0)