diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc
index 91fa11ff71f34b47cd8f2c6f06ed1ed7baf54d4c..617de2612d6d27e72b8d0ec6a1192ccc35c730b9 100644 (file)
/* Create download button*/
if($this->dn != "new"){
- $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."' target='_blank'>
+ $smarty->assign("DownMe","<a href='getFAIscript.php?id=".base64_encode($this->dn)."'>
<input type='button' value='"._("Download")."'>
</a>");
}else{
/* Check supplied data */
function check()
{
- $message= array();
+ /* Call common method to give check the hook */
+ $message= plugin::check();
if(empty($this->cn)){
$message[] = _("Please enter a name.");