diff --git a/APPL/SCF/scaffolding.inc b/APPL/SCF/scaffolding.inc index 3fb0b34d54..482f580423 100644 --- a/APPL/SCF/scaffolding.inc +++ b/APPL/SCF/scaffolding.inc @@ -174,12 +174,12 @@ function scf_ROFIELDTR(model, fld, val, key, params) var tbl = guesses[i]; if (!infoPointer && tbl) { - if (tbl.match(/[a-zA-Z0-9_]/)) // safety, anders fout bij appl\mgt\ins_srtkenmerk.asp?mode=show&id=21 - { - var url = "appl/mgt/" + tbl + ".asp"; - if (fso.FileExists(Server.MapPath("../../" + url))) - infoPointer = { Url: url + "?mode=wrap&id=" + txt.id }; - } + if (tbl.match(/[^a-zA-Z0-9_]/)) // safety, anders fout bij appl\mgt\ins_srtkenmerk.asp?mode=show&id=21 + continue; + + var url = "appl/mgt/" + tbl + ".asp"; + if (fso.FileExists(Server.MapPath("../../" + url))) + infoPointer = { Url: url + "?mode=wrap&id=" + txt.id }; } } }