! $settings['page_index'] wasn't defined for wap/wap2/imode (fixes #2040)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #2051 from Oldiesmann/release-2.1

! $settings['page_index'] wasn't defined for wap/wap2/imode (fixes #2040...