commit 75378f112c75786bda393387d6aa1dfabd90345e
parent 9b081be9d1721945a03c18560714e1b11909a37a
Author: Jan Dankert <develop@jandankert.de>
Date: Sun, 26 Jun 2022 11:45:51 +0200
Fetched from upstream.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dsl/ast/DslOperation.class.php b/dsl/ast/DslOperation.class.php
@@ -37,7 +37,7 @@ class DslOperation implements DslStatement
switch( $this->operator ) {
case '+':
if ( is_string($left) )
- return $left . $right;
+ return $left . (string)$right;
else
return intval($left) + intval($right);