projects
/
misc
/
kostenrechnung
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81fd489
)
Damn, a checkbox returns 'on' for true
author
Joey Schulze
<joey@infodrom.org>
Wed, 28 Jul 2010 09:31:26 +0000
(11:31 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Wed, 28 Jul 2010 09:31:26 +0000
(11:31 +0200)
masks/arbeitsberichte.php
patch
|
blob
|
history
diff --git
a/masks/arbeitsberichte.php
b/masks/arbeitsberichte.php
index
a45fa66
..
cfd7656
100644
(file)
--- a/
masks/arbeitsberichte.php
+++ b/
masks/arbeitsberichte.php
@@
-264,7
+264,7
@@
function einsatz_insert($mask)
$_POST['gebiet'],
$_POST['kostenstelle'],
$_POST['arbeitsart'],
- $_POST['akkord'],
+ $_POST['akkord']
==='on'?1:0
,
empty($_POST['bemerkung']) ? 'NULL' : "'" . pg_escape_string($_POST['bemerkung']) . "'",
pg_escape_string($_SESSION['sys']['login']));