[FIX] cart: Typo (no trace of $todo['objectId'], assuming $trackerId is what you use to get the tracker definition) and a missing global

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@49744 b456876b-0849-0410-b77d-98878d47e9d5
[FIX] 12 should run on PHP 5.3, little bit of 5.4 slipped in

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