When displaying views blocks the $object->display_handler attribute doesn't exist, so the following line in views_admin_link() will return errors:

      if ($display_id = $object->display_handler->display->id) {
CommentFileSizeAuthor
#1 admin-n906790.patch819 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

FileSize
819 bytes

Here's a patch for a cleaner way of handling the logic.

Patch sponsored by Bluespark Labs.

DamienMcKenna’s picture

Status: Active » Needs review
tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community

DamienMcKenna, king of undefined index errors. Works great with DRUPAL-6--1.

DamienMcKenna’s picture

@tim.plunkett: thanks =)