Bug fix

Should this be rewritten in: foreach ( $mInfo->keys as $value ) { 
as previous code?