summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/newfile.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/ajax/newfile.php')
-rw-r--r--apps/files/ajax/newfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php
index d1183089b4f..eed0047fc81 100644
--- a/apps/files/ajax/newfile.php
+++ b/apps/files/ajax/newfile.php
@@ -53,7 +53,7 @@ $result = array(
);
if(trim($filename) === '') {
- $result['data'] = array('message' => $l10n->t('File name cannot not be empty.'));
+ $result['data'] = array('message' => $l10n->t('File name cannot be empty.'));
OCP\JSON::error($result);
exit();
}