X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/d06f9e8ea6cefcfae1ad28bb203a7e4e562820a8..66170c339bbcd8b87e23c47daa11359a99e0d02d:/src/phorkie/Repository.php diff --git a/src/phorkie/Repository.php b/src/phorkie/Repository.php index 9de2e1a..467456b 100644 --- a/src/phorkie/Repository.php +++ b/src/phorkie/Repository.php @@ -321,6 +321,9 @@ class Repository { if ($type == 'edit') { $link = $this->id . '/edit'; + if ($option !== null) { + $link .= '/' . urlencode($option); + } } else if ($type == 'display') { $link = $this->id; } else if ($type == 'fork') {