Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2019-11-25 11:52:39 +01:00
commit ac570b09e9

View File

@ -49,6 +49,8 @@ if (!is_object($document)) {
}
if ($document->getAccessMode($user) < M_READ) {
header('Content-Type: image/svg+xml');
readfile('../views/'.$theme.'/images/empty.svg');
exit;
}