Ticket #5150 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Undeclared variable in _cat_row()

Reported by: stephdau Assigned to: 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 (1.1 kB) - added by stephdau on 10/06/07 06:00:09.
6192.diff (1.1 kB) - added by stephdau on 10/06/07 06:03:06.

Change History

10/06/07 06:00:09 changed by stephdau

  • attachment _cat_row.diff added.

10/06/07 06:03:06 changed by stephdau

  • attachment 6192.diff added.

10/06/07 06:03:54 changed by stephdau

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

10/06/07 06:20:19 changed by westi

  • owner changed from anonymous to westi.
  • status changed from new to assigned.
  • milestone changed from 2.5 to 2.4.

Good catch.

10/06/07 06:21:05 changed by westi

  • status changed from assigned to closed.
  • resolution set to fixed.

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

10/06/07 06:21:46 changed by westi

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.4 to 2.3.1.

Reopen for 2.3.1

10/06/07 06:23:45 changed by westi

  • 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

10/07/07 01:11:51 changed by stephdau

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