HomePhorge

IndexPager: Also protect against $offset being 0

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

IndexPager: Also protect against $offset being 0

The parameter is takes ints too, and apparently $offset != '' does not
guard well enough against offset being zero. The new if ( $offset )
check should catch at least null, '', '0' and 0.

Bug: T313157
Change-Id: Ibf340fd9b4ffddb65cdb1ca4ec227b235906e310
(cherry picked from commit 605c3924bceba0df8a17c74efe7813ce0fd5ffc1)

Details

Provenance
Taavi Väänänen <hi@taavi.wtf>Authored on Jun 30 2023, 12:30 PM
Reedy <reedy@wikimedia.org>Committed on Jun 30 2023, 2:19 PM

Event Timeline

Reedy <reedy@wikimedia.org> committed rMW0fef84e94d3e: IndexPager: Also protect against $offset being 0 (authored by Taavi Väänänen <hi@taavi.wtf>).Jun 30 2023, 2:19 PM

Commit No Longer Exists

This commit no longer exists in the repository.