[dev] DataTree::getAttributes() empty check

Duck duck at obala.net
Sat Dec 10 06:20:54 PST 2005


Sometimes happens that we pass empty cid value to DataTree::getAttributes()  
method. For example while listing Agora Forms where there are no messages 
posted in them. So is a waste of resources to go in SQL to try to get 
unexisting messages data. Patch check this.

Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sql-emptyGetAttributes.diff
Type: text/x-diff
Size: 424 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20051210/49466c8a/sql-emptyGetAttributes.bin


More information about the dev mailing list