projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7498554
)
If $type is an array, this needs to be serialized as an array to work correctly.
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 10 Nov 2010 02:24:49 +0000
(21:24 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Wed, 10 Nov 2010 02:25:24 +0000
(21:25 -0500)
framework/Core/lib/Horde/Core/Factory/Db.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Core/Factory/Db.php
b/framework/Core/lib/Horde/Core/Factory/Db.php
index
9924590
..
6bf1f8d
100644
(file)
--- a/
framework/Core/lib/Horde/Core/Factory/Db.php
+++ b/
framework/Core/lib/Horde/Core/Factory/Db.php
@@
-64,7
+64,7
@@
class Horde_Core_Factory_Db
*/
public function create($app = 'horde', $type = null)
{
- $sig = hash('md5', serialize(
$app . '|' . $type
));
+ $sig = hash('md5', serialize(
array($app, $type)
));
if (isset($this->_instances[$sig])) {
return $this->_instances[$sig];