Fixed bug in TDatabase.GetEditableCategoryInfo where no return value was being set for non-nil categories. Could potentially have caused a nasty bug in future.
** This is a copy of the fix provided in the trunk at r1787
Maintenance branch for v3.x releases