Need to maintain index associations here.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 28 Jan 2009 18:08:53 +0000 (11:08 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 28 Jan 2009 19:43:28 +0000 (12:43 -0700)
framework/Vcs/lib/Horde/Vcs.php

index b2f6c82..234d35e 100644 (file)
@@ -486,7 +486,7 @@ class Horde_Vcs
     {
         $class = 'Horde_Vcs_File_' . $this->_driver;
 
-        sort($opts);
+        ksort($opts);
         $cacheId = implode('|', array($class, $this->sourceroot(), $filename, serialize($opts), $this->_cacheVersion));
 
         if (!empty($this->_cache)) {