Fixed "Cannot use object of type stdClass as array"

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