Fixed "Cannot use object of type stdClass as array"

Authored by Kghbln on Fri, Apr 21, 1:12 PM.