Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5150 closed defect (bug) (fixed)

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 (2)

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

Download all attachments as: .zip

Change History (8)

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

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

Good catch.

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

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

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

Reopen for 2.3.1

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

(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.