projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ffb8f81
)
Convert foreign characters from UTF8 to latin1
author
Joey Schulze
<joey@infodrom.org>
Sun, 7 Apr 2013 16:09:41 +0000
(16:09 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 7 Apr 2013 16:09:41 +0000
(16:09 +0000)
src/InfoCon/stempel/index.wml
patch
|
blob
|
history
diff --git
a/src/InfoCon/stempel/index.wml
b/src/InfoCon/stempel/index.wml
index
24bdee2
..
5006347
100644
(file)
--- a/
src/InfoCon/stempel/index.wml
+++ b/
src/InfoCon/stempel/index.wml
@@
-9,7
+9,7
@@
if ($_POST['func'] == 'save') {
$sql = sprintf("UPDATE stempel SET task = '%s' WHERE oid = %d",
if ($_POST['func'] == 'save') {
$sql = sprintf("UPDATE stempel SET task = '%s' WHERE oid = %d",
- pg_escape_string(
$_POST['task']
),
+ pg_escape_string(
utf8_decode($_POST['task'])
),
$_POST['oid']);
pg_exec($sql);
$_POST['oid']);
pg_exec($sql);