diff --git a/plugins/admin/systems/class_winGeneric.inc b/plugins/admin/systems/class_winGeneric.inc
index 173d6552089ad8516af42172b9837924f44066da..ef279f3ab20351aa809392b7a04f8e4c51a9bdad 100644 (file)
$smarty->assign("base_select", $this->base);
/* Show main page */
- $smarty->assign("netconfig", $this->netConfigDNS->execute());
+ $str = $this->netConfigDNS->execute();
+ if(is_object($this->netConfigDNS->dialog)){
+ return($str);
+ }
+ $smarty->assign("netconfig", $str);
return($smarty->fetch (get_template_path('wingeneric.tpl', TRUE)));
}