Fix double not in newfile/newfolder language.

remotes/origin/stable6
Andreas Fischer 12 years ago
parent aa06983345
commit eb2d66d1a0
  1. 2
      apps/files/ajax/newfile.php
  2. 2
      apps/files/ajax/newfolder.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();
}

@ -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();
}

Loading…
Cancel
Save