Fixed issue 57, bug dans la gestion SVN.
This commit is contained in:
parent
79312f7242
commit
e01235caea
1
AUTHORS
1
AUTHORS
@ -4,3 +4,4 @@ by Loïc d'Anterroches with the support of Céondo Ltd.
|
||||
Much appreciated contributors:
|
||||
|
||||
Nicolas Lassalle <http://www.beroot.org/>
|
||||
bohwaz <http://bohwaz.net/>
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user