Index: securepages.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/securepages/securepages.module,v
retrieving revision 1.15.2.25
diff -u -p -r1.15.2.25 securepages.module
--- securepages.module	11 May 2010 00:46:24 -0000	1.15.2.25
+++ securepages.module	25 Jul 2010 18:32:46 -0000
@@ -304,6 +304,8 @@ function securepages_url($path = NULL, $
     'secure' => TRUE,
   );
   if (!isset($options['external'])) {
+    // Filter module hasn't loaded yet if we are in hook_boot().
+    drupal_load('module', 'filter');
     // Return an external link if $path contains an allowed absolute URL.
     // Only call the slow filter_xss_bad_protocol if $path contains a ':' before
     // any / ? or #.
