FML Update 1.4
This commit is contained in:
@ -35,10 +35,10 @@ class InstallMap extends Element {
|
||||
* @param string $url (optional) Map url
|
||||
*/
|
||||
public function __construct($name = null, $url = null) {
|
||||
if (!is_null($name)) {
|
||||
if ($name !== null) {
|
||||
$this->setName($name);
|
||||
}
|
||||
if (!is_null($url)) {
|
||||
if ($url !== null) {
|
||||
$this->setUrl($url);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user