<?php
/**
- *
- *
- * Created on Aug 7, 2010
- *
* Copyright © 2010 soxred93, Bryan Tong Minh
*
* This program is free software; you can redistribute it and/or modify
$this->params = $this->extractRequestParams();
if ( $this->params['continue'] ) {
- $continueValue = intval( $this->params['continue'] );
+ $continueValue = (int)$this->params['continue'];
$this->dieContinueUsageIf( strval( $continueValue ) !== $this->params['continue'] );
$filteredPages = [];
foreach ( $pages as $id => $page ) {
$pages = $filteredPages;
}
- if ( !count( $pages ) ) {
+ if ( $pages === [] ) {
# Nothing to do
return;
}