bugfix
This commit is contained in:
parent
dc2ef4cd8a
commit
e974bd65d9
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ public class Folder extends DBBean{
|
|||
private static final Logger logger = LogUtil.getLogger();
|
||||
|
||||
private transient String name;
|
||||
protected Long user;
|
||||
protected long user = -1;
|
||||
protected transient User userInstance;
|
||||
private String path;
|
||||
protected Folder parent;
|
||||
|
|
@ -139,7 +139,7 @@ public class Folder extends DBBean{
|
|||
return null;
|
||||
}
|
||||
|
||||
if( user == null || filename == null )
|
||||
if( user >= 0 || filename == null )
|
||||
return null;
|
||||
StringBuilder tmp = new StringBuilder();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue