r4223 bugfix: got rid of using the current() and key() PHP funcs: it is not reliable...
authorAlexey Andriyanov <alan@al-an.info>
Mon, 14 Feb 2011 16:36:16 +0000 (16:36 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Mon, 14 Feb 2011 16:36:16 +0000 (16:36 +0000)
commit7e74a507123c54b1230630adb1e8729d513d1459
tree70c95427fe3fd91cbebb54b1d9ec1b6deb26f116
parent7f4127ea495567accccc5554f8d819db45452ad0
r4223 bugfix: got rid of using the current() and key() PHP funcs: it is not reliable on every PHP ver (see mantis:391)

getSelect: replced calls to current() and key() with foreach and array_shift
renderSearchResults: idem
getPortIIFStats: idem
wwwroot/inc/database.php
wwwroot/inc/interface.php