projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug submitting forms in FA 2.3.x when checkbox field not changed. Fixed
[fa-stable.git]
/
includes
/
ui
/
ui_input.inc
diff --git
a/includes/ui/ui_input.inc
b/includes/ui/ui_input.inc
index 400e3be0a66879985f0f22176011c357f40895f5..788767c403758e01601742583bbb96c1f812b38e 100644
(file)
--- a/
includes/ui/ui_input.inc
+++ b/
includes/ui/ui_input.inc
@@
-334,7
+334,7
@@
function select_button_cell($name, $value, $title=false)
function check_value($name)
{
-
if (!isset($_POST[$name])
)
+
if (!isset($_POST[$name]) || ($_POST[$name]+0) === 0
)
return 0;
return 1;
}