Last modified: 2011-05-20 22:02:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31063, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29063 - When viewing list=recentchanges&rcprop=loginfo for an unblock entry, get undefined index
When viewing list=recentchanges&rcprop=loginfo for an unblock entry, get unde...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Unprioritized trivial (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-20 21:59 UTC by Sam Reed (reedy)
Modified: 2011-05-20 22:02 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2011-05-20 21:59:52 UTC
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
			);
Comment 1 Sam Reed (reedy) 2011-05-20 22:02:06 UTC
r88494

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links