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:
5fb0585
)
Bug submitting forms in FA 2.4.x when checkbox field not changed. Fixed
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 23 Dec 2016 07:57:23 +0000
(08:57 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 23 Dec 2016 07:57:23 +0000
(08:57 +0100)
includes/ui/ui_input.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_input.inc
b/includes/ui/ui_input.inc
index b15ba10e5af23a10ad0425f6831376fa9c905481..2a4d75fd308c154c6475b84a440807bd4ff9af9f 100644
(file)
--- a/
includes/ui/ui_input.inc
+++ b/
includes/ui/ui_input.inc
@@
-347,7
+347,7
@@
function select_button_cell($name, $value, $title=false)
function check_value($name)
{
-
if (!isset($_POST[$name]) || $_POST[$name]==''
)
+
if (!isset($_POST[$name]) || ($_POST[$name]+0) === 0
)
return 0;
return 1;
}