Fix: missing a return into clean_url function
This commit is contained in:
parent
44f31bf21c
commit
4f1d6d7328
@ -416,6 +416,7 @@ function clean_url($url,$http=1)
|
||||
|
||||
return $CleanUrl;
|
||||
}
|
||||
else return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -450,14 +450,14 @@ if (empty($reshook))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Remove file in doc form
|
||||
else if ($action == 'remove_file')
|
||||
{
|
||||
if ($object->fetch($socid))
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
||||
|
||||
|
||||
$langs->load("other");
|
||||
$upload_dir = $conf->societe->dir_output;
|
||||
$file = $upload_dir . '/' . GETPOST('file');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user