Page MenuHomePhabricator

Logevents causes PHP Notice if leprop=title isn't supplied
Closed, ResolvedPublic

Description

Author: john

Description:
Path for ApiQueryLogEvents.php

If title is not added as a property PHP will complain about $row->log_title and $row->log_namespace not being defined.

Try to do api.php?action=query&list=logevents&leprop=timestamp on a system with notices on.


Version: 1.17.x
Severity: normal

attachment ApiQueryLogEvents.patch ignored as obsolete

Details

Reference
bz24089

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:01 PM
bzimport set Reference to bz24089.

john wrote:

Patch for ApiQueryLogEvents.php

Attached: