1
0
Fork 0
pull/136/head
Jordi Boggiano 2011-11-27 20:25:30 +01:00
parent 8df7eb0475
commit 1277277ec6
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class SvnDriver implements VcsDriverInterface
public function __construct($url)
{
$this->url = $this->baseUrl = rtrim($url, '/');
if (($pos = strrpos($url, '/trunk')) !== false) {
if (false !== ($pos = strrpos($url, '/trunk'))) {
$this->baseUrl = substr($url, 0, $pos);
}
}