plugins/SpecialUserPrefs.php
changeset 829 87fcc7175c61
parent 801 eb8b23f11744
child 835 146bc1daf498
--- a/plugins/SpecialUserPrefs.php	Mon Jan 26 11:45:48 2009 -0500
+++ b/plugins/SpecialUserPrefs.php	Mon Feb 16 13:01:35 2009 -0500
@@ -431,7 +431,7 @@
           $imaddr_msn = "$imaddr_msn@hotmail.com";
         }
         
-        if ( substr($homepage, 0, 7) != 'http://' )
+        if ( !preg_match('#^https?://#', $homepage) )
         {
           $homepage = "http://$homepage";
         }