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:
e6bdb5d
)
Fixed Bug in includes\ui\ui_input.inc
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 12 Oct 2017 15:05:21 +0000
(17:05 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 12 Oct 2017 15:05:21 +0000
(17:05 +0200)
includes/ui/ui_input.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_input.inc
b/includes/ui/ui_input.inc
index 1b37b4243b453cd324ae8c9c288155d76fc25622..448bd8f408eb264a1cbfdb60829a8e8451efdaca 100644
(file)
--- a/
includes/ui/ui_input.inc
+++ b/
includes/ui/ui_input.inc
@@
-347,9
+347,7
@@
function select_button_cell($name, $value, $title=false)
function check_value($name)
{
- if (!isset($_POST[$name]) || ($_POST[$name]+0) === 0)
- return 0;
- return 1;
+ return (empty($_POST[$name]) ? 0 : 1);
}
function checkbox($label, $name, $value=null, $submit_on_change=false, $title=false)