[Fix] repeat in 12.x the two changes made into trunk for r.48381 and r.48384

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48385 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] Add missing column


git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@48386 b456876b-0849-0410-b77d-98878d47e9d5