diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-01-15 13:14:43 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-01-15 13:14:43 -0800 |
commit | ee13b934f46d67982e5eeea21f81ac58f166741c (patch) | |
tree | 3a37f19253d2f6ae17b5e190a85c6b48b0de95d5 /modules/recaptcha/helpers/recaptcha_theme.php | |
parent | 38b74932878e8e0c7eb071552568bbb014355996 (diff) |
Fix all the head() and admin_head() theme callbacks to return the
results of the $theme->css() and $theme->script() calls. This handles
the case where combining scripts/css returns HTML instead of putting
it in the queue for combination. Fixes #1611.
Diffstat (limited to 'modules/recaptcha/helpers/recaptcha_theme.php')
-rw-r--r-- | modules/recaptcha/helpers/recaptcha_theme.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/recaptcha/helpers/recaptcha_theme.php b/modules/recaptcha/helpers/recaptcha_theme.php index ee880986..3677a7c7 100644 --- a/modules/recaptcha/helpers/recaptcha_theme.php +++ b/modules/recaptcha/helpers/recaptcha_theme.php @@ -19,10 +19,10 @@ */ class recaptcha_theme_Core { static function head($theme) { - $theme->css("recaptcha.css"); + return $theme->css("recaptcha.css"); } static function admin_head($theme) { - $theme->css("recaptcha.css"); + return $theme->css("recaptcha.css"); } }
\ No newline at end of file |