mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-07 18:41:00 +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 {
|
} else {
|
||||||
print htmlspecialchars($latestContent->getOriginalFileName());
|
print htmlspecialchars($latestContent->getOriginalFileName());
|
||||||
}
|
}
|
||||||
if(!$latestContent->checkOriginalFileName()) {
|
if($user->isAdmin() && !$latestContent->checkOriginalFileName()) {
|
||||||
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
echo " <i class=\"fa fa-exclamation-triangle\" title=\"".getMLText('problematic_filename')."\"></i> ";
|
||||||
}
|
}
|
||||||
print "</li>\n";
|
print "</li>\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user