Commit 090d1b3e authored by webchick's avatar webchick
Browse files

Issue #2294771 by tim.plunkett | anavarre: Fixed Add views display always defaults to attachment.

parent 69c64630
......@@ -157,7 +157,7 @@ public static function fetchPluginNames($type, $key = NULL, array $base = array(
}
if (empty($plugin['no_ui']) && (empty($base) || empty($plugin['base']) || array_intersect($base, $plugin['base']))) {
$plugins[$id] = $plugin['title'];
$plugins[$id] = (string) $plugin['title'];
}
}
......
......@@ -167,6 +167,7 @@ public function testLinkDisplay() {
// Test the default link_url value for new display
$this->drupalPostForm(NULL, array(), t('Add Block'));
$this->assertUrl('admin/structure/views/view/test_display/edit/block_2');
$this->clickLink(t('Custom URL'));
$this->assertFieldByName('link_url', 'a-custom-url');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment