Referencing DB field gives different results on Dev Site and Live Site

Sorry, but my mind is pickled and can’t remember exact terms, so I’ll try to explain

So you can refence a DB record inside a dmx-repeat like this
sc_menus.data.q_menus[0]

and like this
sc_menus.data.q_menus[0].list_label

And so I am referencing from a list where address_type is a number
sc_menus.data.q_menus[address_type].list_label

This gives results and is correct on the Live Site but on my Dev machine I have to reference it like
sc_menus.data.q_menus[address_type - 1].list_label to get the correct result.

Any idea what I am doing wrong? Is it a MySQL setting? phpMyAdmin setting? ini.php? Help guys, I’m scratching my head.

Community Page
Last updated: