Commit 06e1392b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Suppress printing the real pathFileName in case it's not accessible. Only show if debugging is on.

parent 6fbfc090
......@@ -2904,6 +2904,10 @@ abstract class AbstractBuildForm {
$link = new Link($this->sip);
$value = $link->renderLink('s|M:file|d|F:' . $value . '|' . $formElement[FE_FILE_DOWNLOAD_BUTTON]);
} else {
// In case debugging is off: showing download button means 'never show the real pathfilename'
if (!$this->showDebugInfoFlag) {
$value = '';
}
$value .= " - file not found, please check field 'value'";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment