projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170afb6
)
Fix if no split db has been configured.
author
Jan Schneider
<jan@horde.org>
Thu, 13 May 2010 21:28:51 +0000
(23:28 +0200)
committer
Jan Schneider
<jan@horde.org>
Thu, 13 May 2010 21:28:51 +0000
(23:28 +0200)
framework/Alarm/lib/Horde/Alarm/Sql.php
patch
|
blob
|
history
diff --git
a/framework/Alarm/lib/Horde/Alarm/Sql.php
b/framework/Alarm/lib/Horde/Alarm/Sql.php
index
63c18e9
..
2a9f503
100644
(file)
--- a/
framework/Alarm/lib/Horde/Alarm/Sql.php
+++ b/
framework/Alarm/lib/Horde/Alarm/Sql.php
@@
-57,6
+57,8
@@
class Horde_Alarm_Sql extends Horde_Alarm
if (isset($params['write_db'])) {
$this->_write_db = $params['write_db'];
+ } else {
+ $this->_write_db = $this->_db;
}
unset($params['db'], $params['write_db']);