Closed (fixed)
Project:
Quick Tabs
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2011 at 19:07 UTC
Updated:
12 Jul 2011 at 07:02 UTC
If a create a tab containing a view restricted to specific users I receive the following error:
Notice : Undefined variable: tab in QuickViewContent->render() (line 106 ...
elseif (!$hide_empty) {
$output = theme('quicktabs_tab_access_denied', array('tab' => $tab));
}
I think the $tab should be replaced by the $item variable.
elseif (!$hide_empty) {
$output = theme('quicktabs_tab_access_denied', array('tab' => $item));
}
The corrected code is working fine for me.
Comments
Comment #1
katbailey commentedCommitted with a slight change which ensures that the output of theme_quicktabs_tab_access_denied actually gets displayed ;-)
http://drupalcode.org/project/quicktabs.git/commit/fc868b122c18183f184d0...