Fix generating link to patchsets if not using commits.php.
authorJan Schneider <jan@horde.org>
Wed, 5 Jan 2011 12:49:05 +0000 (13:49 +0100)
committerJan Schneider <jan@horde.org>
Wed, 5 Jan 2011 15:58:13 +0000 (16:58 +0100)
chora/lib/Chora.php

index c874cbb..3ebcb6d 100644 (file)
@@ -130,6 +130,8 @@ class Chora
                 if (!empty($args['ps'])) {
                     $script = urlencode(isset($args['rt']) ? $args['rt'] : $GLOBALS['acts']['rt']) . '/-/commit/' . $args['ps'];
                     unset($arglist['ps']);
+                } else {
+                    $script .= '/' . $uri;
                 }
                 break;