This commit is contained in:
t0pep0 2014-06-27 19:14:12 +04:00
parent e6fc830fe3
commit 8b40db4bcb
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ func (item *Item) addItem(res *Item) {
if res == nil {
return
}
if item == nil {
item = res
return
}
if item.Object == nil {
item.copy(res)
return