We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d72d2ef commit 34e6744Copy full SHA for 34e6744
xmlapi/programactions.cgi
@@ -37,10 +37,10 @@ if {[info exists sid] && [check_session $sid]} {
37
object obj = dom.GetObject(prgId);
38
if (obj && obj.IsTypeOf(OT_PROGRAM)) {
39
if ((active == "false") || (active == "true")){
40
- obj.Active(active);
+ obj.Active(active == "true");
41
}
42
if ((visible == "false") || (visible == "true")){
43
- obj.Visible(visible);
+ obj.Visible(visible == "true");
44
45
Write(obj);
46
0 commit comments