Changeset 935

Show
Ignore:
Timestamp:
04/09/07 14:19:22 (1 year ago)
Author:
Rickard
Message:

Made sure the profile field URL actually starts with "http://".

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/upload/profile.php

    r287 r935  
    753753 
    754754                        // Add http:// if the URL doesn't contain it already 
    755                         if ($form['url'] != '' && !stristr($form['url'], 'http://')
     755                        if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0
    756756                                $form['url'] = 'http://'.$form['url']; 
    757757