projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1cd41b
)
Untypo
author
Joey Schulze
<joey@infodrom.org>
Sun, 8 May 2011 12:03:10 +0000
(14:03 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 8 May 2011 12:03:10 +0000
(14:03 +0200)
ajax/ajax.php
patch
|
blob
|
history
diff --git
a/ajax/ajax.php
b/ajax/ajax.php
index
5f456af
..
acf3dab
100644
(file)
--- a/
ajax/ajax.php
+++ b/
ajax/ajax.php
@@
-189,7
+189,7
@@
function save($mask)
if ($info['type'] == 'boolean') {
$update[] = sprintf("%s=%d", $field, $_POST[$field] == 'on'?1:0);
- } elseif ($info['type'] == 'hidden')
)
{
+ } elseif ($info['type'] == 'hidden') {
if (empty($_POST[$field]) && $info['null'] === true)
$update[] = sprintf("%s=NULL", $field);
else {