https://bugzilla.wikimedia.org/show_bug.cgi?id=23724

           Summary: undefined index errors
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: sh_ho...@yahoo.com


In "further results" pages, I get the following errors:

Notice: Undefined index: order in
D:\public_html\mediawiki\extensions\SemanticMediaWiki\specials\AskSpecial\SMW_SpecialAsk.php
on line 116 Notice: Undefined index: order in
D:\public_html\mediawiki\extensions\SemanticMediaWiki\specials\AskSpecial\SMW_SpecialAsk.php
on line 120 Notice: Undefined index: sort in
D:\public_html\mediawiki\extensions\SemanticMediaWiki\specials\AskSpecial\SMW_SpecialAsk.php
on line 129 Notice: Undefined index: sort in
D:\public_html\mediawiki\extensions\SemanticMediaWiki\specials\AskSpecial\SMW_SpecialAsk.php
on line 132


Adding simple checks, like below, fixes it:

if (!array_key_exists ('order', $this->m_params))
  $this->m_params['order']='';

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to