diff --git a/AUTHORS b/AUTHORS index b4e30d6..0e57b5f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3,4 +3,5 @@ by Loïc d'Anterroches with the support of Céondo Ltd. Much appreciated contributors: - Nicolas Lassalle \ No newline at end of file + Nicolas Lassalle + bohwaz \ No newline at end of file diff --git a/src/IDF/Scm/Svn.php b/src/IDF/Scm/Svn.php index 3cd19fd..cfbed75 100644 --- a/src/IDF/Scm/Svn.php +++ b/src/IDF/Scm/Svn.php @@ -50,7 +50,8 @@ class IDF_Scm_Svn public static function getRemoteAccessUrl($project) { $conf = $project->getConf(); - if (false !== ($url=$conf->getVal('svn_remote_url', false))) { + if (false !== ($url=$conf->getVal('svn_remote_url', false)) + && !empty($url)) { // Remote repository return $url; } @@ -71,7 +72,8 @@ class IDF_Scm_Svn { $conf = $project->getConf(); // Find the repository - if (false !== ($rep=$conf->getVal('svn_remote_url', false))) { + if (false !== ($rep=$conf->getVal('svn_remote_url', false)) + && !empty($rep)) { // Remote repository return new IDF_Scm_Svn($rep, $conf->getVal('svn_username'),