projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4519494
)
Make sure $opts is an array before sorting it
author
Chuck Hagenbuch
<chuck@horde.org>
Wed, 24 Nov 2010 15:29:59 +0000
(10:29 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Wed, 24 Nov 2010 15:29:59 +0000
(10:29 -0500)
framework/Vcs/lib/Horde/Vcs.php
patch
|
blob
|
history
diff --git
a/framework/Vcs/lib/Horde/Vcs.php
b/framework/Vcs/lib/Horde/Vcs.php
index
3ade2d5
..
f01c559
100644
(file)
--- a/
framework/Vcs/lib/Horde/Vcs.php
+++ b/
framework/Vcs/lib/Horde/Vcs.php
@@
-587,6
+587,7
@@
class Horde_Vcs
{
$class = 'Horde_Vcs_Patchset_' . $this->_driver;
+ if (!is_array($opts)) { $opts = array(); }
ksort($opts);
$cacheId = implode('|', array($class, $this->sourceroot(), serialize($opts), $this->_cacheVersion));
@@
-638,5
+639,4
@@
class Horde_Vcs
{
return 'HEAD';
}
-
}