config : an array with "not configured" should not be presented if there is an other entry available
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2118 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -76,6 +76,8 @@ class config
|
|||||||
if (! isset ($conf[$param][$key]))
|
if (! isset ($conf[$param][$key]))
|
||||||
$conf[$param][$key] = $val;
|
$conf[$param][$key] = $val;
|
||||||
}
|
}
|
||||||
|
if (count ($conf[$param]) > 1 && isset ($conf[$param]["not configured"]))
|
||||||
|
unset ($conf[$param]["not configured"]);
|
||||||
return $conf[$param];
|
return $conf[$param];
|
||||||
}
|
}
|
||||||
return $this->default[$param];
|
return $this->default[$param];
|
||||||
|
|||||||
Reference in New Issue
Block a user