X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_controls.inc;h=c9bae54f55133455af9b2abbbdee89584545512f;hb=ac4ae9a8e2329bb8d56c06759246d02067e2fe09;hp=217be194c3642061fa15fc7b5085deac3fda3106;hpb=8156fee18d2c6a79a1d77e11d1ea4f379ed3740e;p=fa-stable.git
diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc
index 217be194..c9bae54f 100644
--- a/includes/ui/ui_controls.inc
+++ b/includes/ui/ui_controls.inc
@@ -165,8 +165,13 @@ function delete_link_cell($param, $title=false)
function edit_button_cell($name, $value, $title=false)
{
- label_cell("\n");
+// php silently changes dots,spaces,'[' and characters 128-159
+// to underscore in POST names, to maintain compatibility with register_globals
+
+ label_cell("'=2E',' '=>'=20','='=>'=3D','['=>'=5B')))
+ ."\" value=\"$value\""
+ .($title ? " title='$title'":'')." />\n");
}
//-----------------------------------------------------------------------------------