Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php |
— | — | @@ -704,7 +704,7 @@ |
705 | 705 | } |
706 | 706 | |
707 | 707 | public function getLimit() { |
708 | | - if ( key_exists( 'limit', $this->m_params ) ) { |
| 708 | + if ( array_key_exists( 'limit', $this->m_params ) ) { |
709 | 709 | return $this->m_params['limit']; |
710 | 710 | } |
711 | 711 | else { |
— | — | @@ -713,7 +713,7 @@ |
714 | 714 | } |
715 | 715 | |
716 | 716 | public function getOffset() { |
717 | | - if ( key_exists( 'offset', $this->m_params ) ) { |
| 717 | + if ( array_key_exists( 'offset', $this->m_params ) ) { |
718 | 718 | return $this->m_params['offset']; |
719 | 719 | } |
720 | 720 | else { |
— | — | @@ -944,7 +944,6 @@ |
945 | 945 | $rawparams = array_merge( $this->m_params, $rawparams ); |
946 | 946 | } |
947 | 947 | |
948 | | - |
949 | 948 | SMWQueryProcessor::processFunctionParams( $rawparams, $this->m_querystring, $this->m_params, $this->m_printouts ); |
950 | 949 | } |
951 | 950 | /** |