3896: Narrated web fail: display_additional_images_as_gallery, not in list

svn: r15334
This commit is contained in:
Doug Blank 2010-05-06 04:46:28 +00:00
parent 5f69c64971
commit 2fb7a5e048

View File

@ -1408,7 +1408,8 @@ class BasePage(object):
if photoref.ref in photolist_handles:
photo = photolist_handles[photoref.ref]
photolist_ordered.append(photo)
photolist.remove(photo)
if photo in photolist:
photolist.remove(photo)
# and add any that are left (should there be any?)
photolist_ordered += photolist