r91840 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91839‎ | r91840 | r91841 >
Date:17:59, 10 July 2011
Author:devayon
Status:deferred
Tags:
Comment:
followup to r91789
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
@@ -704,7 +704,7 @@
705705 }
706706
707707 public function getLimit() {
708 - if ( key_exists( 'limit', $this->m_params ) ) {
 708+ if ( array_key_exists( 'limit', $this->m_params ) ) {
709709 return $this->m_params['limit'];
710710 }
711711 else {
@@ -713,7 +713,7 @@
714714 }
715715
716716 public function getOffset() {
717 - if ( key_exists( 'offset', $this->m_params ) ) {
 717+ if ( array_key_exists( 'offset', $this->m_params ) ) {
718718 return $this->m_params['offset'];
719719 }
720720 else {
@@ -944,7 +944,6 @@
945945 $rawparams = array_merge( $this->m_params, $rawparams );
946946 }
947947
948 -
949948 SMWQueryProcessor::processFunctionParams( $rawparams, $this->m_querystring, $this->m_params, $this->m_printouts );
950949 }
951950 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r91789fixed pagination, and added some stubs for form elementsdevayon16:24, 9 July 2011