diff --git a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php index 8ce6b13670c49dd3a925e08de4a81b19f4459ae7..50e98bfa3f53f7c7d171bddd45498e8d48f77871 100644 --- a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php +++ b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php @@ -244,7 +244,9 @@ class WebUtils { } } if ($this->isBoolean ($a)) { - if ($oldval === "TRUE") { + // pre-check "Searchable" box, cf. TG-1217 + if (($a->name === 'agreesearch' && $oldval === "") || + $oldval === "TRUE") { $checked = "checked=\"checked\""; } else { $checked = "";