Quote:
Originally Posted by Astram
Alright, gotcha, but do you know why the array isnt displaying anything besides this.rights[0]
|
Dunno. I was being lazy and assumed that the wrong prefix was the only problem. Let me take a closer look..
Edit: What do you want to do, anyway? Your conditions seem strange; you also got your operators the wrong way (=> and =< instead of >= and <=, but I'm not sure if that even matters). Also, you're converting an integer to a string for your array index here:
PHP Code:
this.selected = thiso.rights[(@this.selectedid - 1)];
Which isn't even necessary. This should do:
PHP Code:
this.selected = this.rights[this.selectedid - 1];