syntax error

This commit is contained in:
Mikael Nordfeldth 2016-02-25 22:17:44 +01:00
parent e6e1705852
commit bac37d1714
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class File extends Managed_DataObject
if (array_key_exists($ext, $blacklist)) {
if (!is_string($blacklist[$ext])) {
// we don't have a safe replacement extension
throw ClientException(_('Blacklisted file extension.'));
throw new ClientException(_('Blacklisted file extension.'));
}
common_debug('Found replaced extension for filename '._ve($filename).': '._ve($ext));