Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
In template.php (line 31), if theme_get_setting('fast_tasks') returns FALSE then a variable that exists in page.tpl.php is undefined.
I changed
if (theme_get_setting('fast_tasks')) {
$vars['fast_tasks'] = _polpo_fast_tasks();
}
to:
$vars['fast_tasks'] = theme_get_setting('fast_tasks') ? _polpo_fast_tasks() : FALSE;
and that fixed it.
R
Comment | File | Size | Author |
---|---|---|---|
#3 | remove_fast_tasks-964998-3.patch | 5.21 KB | BWPanda |
Comments
Comment #1
jptaranto CreditAttribution: jptaranto commentedHey rimian, I just removed the fast tasks altogether as they weren't particularly well implemented (no reliance on permissions being the biggest issue). There are better things out there that do that kind of stuff nowadays anyway.
Comment #2
BWPanda CreditAttribution: BWPanda commentedBe good to do this to 7.x too...
Comment #3
BWPanda CreditAttribution: BWPanda commentedHere's a patch that fully removes fast tasks from 7.x.
Comment #4
jptaranto CreditAttribution: jptaranto commentedThanks again for the patch! Done and dusted in the latest 7.x-1.x-dev.