Fix on LOOP.PHP

Double $i++; at line 32 and line 35
Merge pull request #1001 from byteGator/FIx-on-new-LOOP.PHP

F ix on new loop.php
Merge remote-tracking branch 'upstream/develop' into develop