MINOR Updated sapphiredocs

git-svn-id: http://svn.silverstripe.com/projects/ss2doc/branches/v2@116584 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2011-02-24 04:56:35 +00:00
parent 139b6084bb
commit b3961ee2ab
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
--- ---
format: 1 format: 1
handler: handler:
commit: 94121f0a662555aefa6871726f57f56de5332edb commit: b1c93bd27a232267a2ab9e05f9372982b0781236
branch: master branch: master
lock: false lock: false
repository_class: Piston::Git::Repository repository_class: Piston::Git::Repository

View File

@ -156,7 +156,7 @@ class DocumentationViewer extends Controller {
$this->module = $firstParam; $this->module = $firstParam;
$this->lang = $secondParam; $this->lang = $secondParam;
if(isset($thirdParam) && (is_numeric($thirdParam))) { if(isset($thirdParam) && (is_numeric($thirdParam) || in_array($thirdParam, array('master', 'trunk')))) {
$this->version = $thirdParam; $this->version = $thirdParam;
} }
else { else {