If throttle.module is not enabled, the function throttle_status won't exist, and will throw a PHP error.
Solution:
in function autotimezone_init(), make the if statement read:
if (!function_exists('throttle_status') || !throttle_status()) {
...
}
If throttle.module is not enabled, the function throttle_status won't exist, and will throw a PHP error.
Solution:
in function autotimezone_init(), make the if statement read:
if (!function_exists('throttle_status') || !throttle_status()) {
...
}
Comments
Comment #1
LukeLast commentedGood catch, thanks.
Committed to CVS.
Comment #2
(not verified) commented