Skip to content

Commit 37f3bfc

Browse files
boolean true
1 parent f6ffa61 commit 37f3bfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kratos.gid/scripts/Writing/WriteProjectParameters.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ proc write::GetResultsByXPathList { xpath } {
330330
set xp1 "$xpath/value"
331331
set resultxml [$root selectNodes $xp1]
332332
foreach res $resultxml {
333-
if {[get_domnode_attribute $res v] in [list "Yes" "True" "1"] && [get_domnode_attribute $res state] ne "hidden"} {
333+
if {[write::isBooleanTrue [get_domnode_attribute $res v]] && [get_domnode_attribute $res state] ne "hidden"} {
334334
set name [get_domnode_attribute $res n]
335335
lappend result $name
336336
}

0 commit comments

Comments
 (0)