Framework
Framework copied to clipboard
fix possible select outside array bounds
Resolves #698
Changes proposed in this pull request:
-
selecting an index not defined in the array returns an error. simply check if there is enough elements in the array
-
[X] I have tested my changes and corrected any errors found