https://bugzilla.wikimedia.org/show_bug.cgi?id=29063
Web browser: ---
Bug #: 29063
Summary: When viewing list=recentchanges&rcprop=loginfo for an
unblock entry, get udefined index
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
api.php?action=query&list=recentchanges&rcprop=loginfo
Notice: Undefined offset: 1 in
/home/reedy/mediawiki/trunk/phase3/includes/api/ApiQueryLogEvents.php on line
239
unblock:
array
0 => string '' (length=0)
array
0 => string 'infinite' (length=8)
1 => string 'anononly,nocreate' (length=17)
It's bitching on
list( $vals2['duration'], $vals2['flags'] ) = $params;
As there is only one thing in the array
Before that it's
ApiQueryLogEvents::addLogParams(
$this->getResult(),
$vals, $row->rc_params,
$row->rc_log_type, $row->rc_timestamp
);
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l