[ticket/11555] Fix page comparison

Strict comparison should not be used to compare string and number

PHPBB3-11555
Merge remote-tracking branch 'cyberalien/ticket/11555' into develop

* cyberalien/ticket/11555:
  [ticket/11555] Fix page comparison