misd-service-development/drupal-cambridge-theme — pull request #37 by thewilkybarkid (2014-03-27 14:12:11+00:00)
Title: Ignore inaccessible items when finding the leading image

When finding the leading image (ie an image field that is the first visible item) it can currently fail if there is an inaccessible item above it (eg the language list is hidden but appears first).

This makes sure that it only looks at accessible items.