Duplicates postfixes start with (2) now

pull/1/head
Victor Dubiniuk 11 years ago
parent 3bb39d50d6
commit 4f9c51cecd

@ -16,7 +16,7 @@ class Helper{
const APP_ID = 'documents';
public static function getNewFileName($view, $path, $prepend = ' '){
$fileNum = 0;
$fileNum = 1;
while ($view->file_exists($path)){
$fileNum += 1;

Loading…
Cancel
Save