No need to throw error on empty folder

This commit is contained in:
Dan Stillman 2006-05-16 21:56:49 +00:00
parent bfdcbd831b
commit 19d268e198

View file

@ -845,7 +845,8 @@ Scholar.Objects = new function(){
var tree = Scholar.DB.query(sql);
if (!tree){
throw ('treeStructure is empty');
Scholar.debug('No children of folder ' + parent, 5);
return toReturn;
}
_load('all');