From c47306b609d90b78c09307626eee5a7c00ed3932 Mon Sep 17 00:00:00 2001 From: "a.chubar" Date: Tue, 9 Jul 2024 11:50:00 +0300 Subject: [PATCH] fixed PROP macro losing quotation marks from string props --- macro.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macro.inc.php b/macro.inc.php index 95af8e4..bd7f83d 100644 --- a/macro.inc.php +++ b/macro.inc.php @@ -211,10 +211,12 @@ function macro_IS_DEV($jsm) */ function macro_PROP($jsm, $expr) { - return \taskman\get($expr); + $res = \taskman\get($expr); + if(is_string($res)) + return '"'.$res.'"'; + return $res; } - /** * @global */