Fix bug at readPageEngine

Summary: * Fixed a critical bug, which made the function fail.

Reviewers: O1 Luke081515Bot, Freddy2001

Reviewed By: O1 Luke081515Bot, Freddy2001

Subscribers: MGChecker

Tags: #cygnus

Differential Revision: https://rcm-2.wmflabs.org/D490
4 jobs for master in 1 minute and 15 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Lint
passed #1026
lint:lint-php5.4

00:00:42

passed #1027
lint:lint-php5.6

00:00:42

passed #1028
lint:lint-php7.0

00:00:40

 
  Codesniffer
passed #1029
codesniffer

00:00:32