This commit is contained in:
Ziver Koc 2017-08-02 14:27:22 +02:00
parent f5acb49eec
commit 8e9a8e4288

View file

@ -76,7 +76,7 @@ public class Folder extends DBBean{
String[] tmp = path.split("/");
name = tmp[tmp.length-1];
}
String userName = user.getName() != null ? user.getName() : "UNKNOWN";
String userName = user != null ? user.getName() : "UNKNOWN";
String tmp = name.replaceAll("\\{NAME\\}", userName);
return tmp;
}