mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-06 10:00:58 +00:00
check orig filename only if admin
This commit is contained in:
parent
bc5ae5c74e
commit
b6dae52f35
|
@ -753,7 +753,7 @@ $(document).ready( function() {
|
|||
} else {
|
||||
print htmlspecialchars($latestContent->getOriginalFileName());
|
||||
}
|
||||
if(!$latestContent->checkOriginalFileName()) {
|
||||
if($user->isAdmin() && !$latestContent->checkOriginalFileName()) {
|
||||
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
||||
}
|
||||
print "</li>\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user