Skip to content
Snippets Groups Projects
Commit eb2d66d1 authored by Andreas Fischer's avatar Andreas Fischer
Browse files

Fix double not in newfile/newfolder language.

parent aa069833
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
......@@ -18,7 +18,7 @@ $result = array(
);
if(trim($foldername) === '') {
$result['data'] = array('message' => $l10n->t('Folder name cannot not be empty.'));
$result['data'] = array('message' => $l10n->t('Folder name cannot be empty.'));
OCP\JSON::error($result);
exit();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment