projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff8584
)
Bug submitting forms in FA 2.3.x when checkbox field not changed. Fixed
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 23 Dec 2016 07:56:18 +0000
(08:56 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 23 Dec 2016 07:56:18 +0000
(08:56 +0100)
includes/ui/ui_input.inc
patch
|
blob
|
history
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;
}