Ticket #5150 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Undeclared variable in _cat_row()

Reported by: stephdau Owned by: westi
Priority: normal Milestone: 2.3.1
Component: Administration Version: 2.3
Severity: normal Keywords:
Cc:

Description

In _cat_row():

$default_link_cat_id is used but undeclared.

Missing? -> $default_link_cat_id = (int) get_option( 'default_link_category' );

See patch

Attachments

_cat_row.diff Download (1.1 KB) - added by stephdau 4 years ago.
6192.diff Download (1.1 KB) - added by stephdau 4 years ago.

Change History

Sorry for the double patch. Realized naming convention after adding the 1st one.

  • Owner changed from anonymous to westi
  • Status changed from new to assigned
  • Milestone changed from 2.5 to 2.4

Good catch.

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [6193]) Ensure we have the default category id. Fixes #5150 for trunk

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 2.4 to 2.3.1

Reopen for 2.3.1

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [6194]) Ensure we have the default category id. Fixes #5150 for branches/2.3

Kewl. At least my first report wasn't a dud. ;)

Note: See TracTickets for help on using tickets.