﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
23026	parent_dropdown() should verify that a post has been fetched	mweichert	SergeyBiryukov	"If you call parent_dropdown() and no post has been provided or populated, then an E_NOTICE will be emitted in template.php:683 because $post is null.

The fix is to adjust line 681 from:

{{{
if ( $items ) {
}}}

to...

{{{
if ($post && $items) {
}}}

I've attached a patch.

To reproduce:
1. Ensure that your server is configured to show E_NOTICE errors.
2. Install NextGEN Gallery
3. Go to the Manage Galleries Page
4. Click on a gallery.
4. Voila. ;)"	defect (bug)	closed	normal	3.6	Warnings/Notices	3.5	minor	fixed	has-patch	michael@…
