1
0
Fork 0

Fix var scope

pull/617/head
Jerome Tamarelle 2012-04-24 17:15:31 +02:00
parent da823f5f19
commit cc6e1397b2
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ class SvnDriver extends VcsDriver
{ {
$this->url = rtrim(self::normalizeUrl($this->url), '/'); $this->url = rtrim(self::normalizeUrl($this->url), '/');
if (false !== ($pos = strrpos($url, '/trunk'))) { if (false !== ($pos = strrpos($this->url, '/trunk'))) {
$this->baseUrl = substr($url, 0, $pos); $this->baseUrl = substr($this->url, 0, $pos);
} }
$this->util = new SvnUtil($this->baseUrl, $this->io, $this->process); $this->util = new SvnUtil($this->baseUrl, $this->io, $this->process);