projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e28b73
)
Shout: Fix trailing comma in SQL
author
Ben Klang
<ben@alkaloid.net>
Fri, 22 Jan 2010 14:31:29 +0000
(09:31 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Fri, 22 Jan 2010 14:32:39 +0000
(09:32 -0500)
shout/lib/Driver/Sql.php
patch
|
blob
|
history
diff --git
a/shout/lib/Driver/Sql.php
b/shout/lib/Driver/Sql.php
index
33413f3
..
a5f5f2f
100644
(file)
--- a/
shout/lib/Driver/Sql.php
+++ b/
shout/lib/Driver/Sql.php
@@
-176,7
+176,7
@@
class Shout_Driver_Sql extends Shout_Driver
$sql = 'UPDATE %s SET name = ?, accountcode = ?, callerid = ?, ' .
'mailbox = ?, secret = ?, context = ?, alias = ?, ' .
'canreinvite = "no", nat = "yes", type = "peer", ' .
- 'host = "dynamic"
,
WHERE name = ?';
+ 'host = "dynamic" WHERE name = ?';
$args[] = $devid;
} else {
// This is an add. Generate a new unique ID and secret