diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index 41c84d330c7b1e458965d57be3bce6dd9b3a587b..c95860729cf54c183c1d698d635f0b1c9e15f205 100644 (file)
/* Search filter */
var $regex = "*";
- /* Configurationdialog for repositories */
- var $dialog = NULL;
-
/* Repositories */
var $repositories = array();
var $FAIrepository = array();
}else{
$this->repositories[$obj['Release']]=$obj;
}
- $this->dialog = NULL;
+ $this->dialog = FALSE;
$this->is_dialog= false;
}
}
if(isset($_POST['repository_setup_cancel'])){
- $this->dialog=NULL;
+ $this->dialog=FALSE;
$this->is_dialog = false;
}
- if($this->dialog !== NULL){
+ if(is_object($this->dialog)){
$this->dialog->save_object();
$this->is_dialog = true;
return($this->dialog->execute());