fixed PROP macro losing quotation marks from string props
Publish PHP Package / docker (push) Successful in 8s
Details
Publish PHP Package / docker (push) Successful in 8s
Details
This commit is contained in:
parent
6d6e9e6e7b
commit
c47306b609
|
@ -211,10 +211,12 @@ function macro_IS_DEV($jsm)
|
||||||
*/
|
*/
|
||||||
function macro_PROP($jsm, $expr)
|
function macro_PROP($jsm, $expr)
|
||||||
{
|
{
|
||||||
return \taskman\get($expr);
|
$res = \taskman\get($expr);
|
||||||
|
if(is_string($res))
|
||||||
|
return '"'.$res.'"';
|
||||||
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @global
|
* @global
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue