Is it a bug in _process_json function?

I have dhtmlxGrid v.2.1 Pro edition build 90226/90316
Within function _process_json there’s a line:


I assume it to be the following way instead:


Is that line correct? Looks like data received from server has different array structure…
What is more I think this line is unnecessary at all because you are overriding it later in the code.
Though I might be wrong with my arguments here.

Thank you for your note. This issue fixed and will be included at the next version of dhtmlxGrid.