Duplicates postfixes start with (2) now
This commit is contained in:
parent
3bb39d50d6
commit
4f9c51cecd
@ -16,7 +16,7 @@ class Helper{
|
|||||||
const APP_ID = 'documents';
|
const APP_ID = 'documents';
|
||||||
|
|
||||||
public static function getNewFileName($view, $path, $prepend = ' '){
|
public static function getNewFileName($view, $path, $prepend = ' '){
|
||||||
$fileNum = 0;
|
$fileNum = 1;
|
||||||
|
|
||||||
while ($view->file_exists($path)){
|
while ($view->file_exists($path)){
|
||||||
$fileNum += 1;
|
$fileNum += 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user