Prepend "http://" in front of urls that lack "://". Most urls tend to be websites and adding
http:// where it is missing fixes a bunch of urls in the database
This commit is contained in:
@@ -70,7 +70,9 @@ class Application {
|
||||
$this->sName = $oRow->appName;
|
||||
$this->sKeywords = $oRow->keywords;
|
||||
$this->sDescription = $oRow->description;
|
||||
$this->sWebpage = $oRow->webPage;
|
||||
//TODO: we should move the url to the appData table
|
||||
// and return an id into the appData table here
|
||||
$this->sWebpage = Url::normalize($oRow->webPage);
|
||||
$this->sQueued = $oRow->queued;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user