Merge pull request #5566 from owncloud/fix-double-not
Fix double not in newfile/newfolder language.
This commit is contained in:
commit
300cb22d24
|
@ -53,7 +53,7 @@ $result = array(
|
||||||
);
|
);
|
||||||
|
|
||||||
if(trim($filename) === '') {
|
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);
|
OCP\JSON::error($result);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ $result = array(
|
||||||
);
|
);
|
||||||
|
|
||||||
if(trim($foldername) === '') {
|
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);
|
OCP\JSON::error($result);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue