Skip to content

Commit 3894fed

Browse files
fixed text (and all the other ones can now also take variables)
1 parent b72bcff commit 3894fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Utils.removeNamespacesFromVariables = function(vars) {
262262
* Utility function to extract a value from a config rule - if the value is a variable, take the value of that variable instead
263263
*/
264264
Utils.getConfigValue = function(val, row) {
265-
if (typeof val == 'string' && val.substring(0, 2) == 'v:') {
265+
if (typeof val == 'string' && row[val]) {
266266
var rad = row[val]
267267
if (rad && rad['@value']) return rad['@value']
268268
return rad

0 commit comments

Comments
 (0)