I am seeing this notice when browsing to /filedepot as an anonymous user. PHP is expecting $show_alert in filedepot-mainpage.tpl.php. I noticed the following code in module line 1610:
1610 if (!user_is_logged_in()) {
1611 $variables['alert_message'] = 'You are not Logged in';
1612 }
1613 else {
1614 $variables['alert_message'] = '';
1615 $variables['show_alert'] = 'none';
1616 }
and have a patch attached in the comment below. The new code looks like this:
1610 if (!user_is_logged_in()) {
1611 $variables['alert_message'] = 'You are not Logged in';
1612 $variables['show_alert'] = 'none';
1613 }
1614 else {
1615 $variables['alert_message'] = '';
1616 $variables['show_alert'] = 'none';
1617 }
Comments
Comment #1
varunity commentedHere's the patch.
Comment #2
_timpatrick commentedAwesome thank you! I have applied the patch to the 7.x-1.x branch
Comment #3
_timpatrick commentedComment #4.0
(not verified) commentedChanging some text.