[ticket/11555] Fix page comparison

Strict comparison should not be used to compare string and number

http://tracker.phpbb.com/browse/PHPBB3-11555