We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17686a4 commit 432294bCopy full SHA for 432294b
src/libraries/UserProfile.php
@@ -132,6 +132,7 @@ public function getTwitterUsername() {
132
}
133
134
public function getWebsite() {
135
+ if (!is_string($this->website)) return $this->website;
136
$value = strtolower($this->website);
137
if (substr($value, 0, 7) == "http://") {
138
return substr($value, 7);
@@ -143,6 +144,7 @@ public function getWebsite() {
143
144
145
146
public function getWebsiteURI() {
147
148
149
if (substr($value, 0, 7) == "http://"
150
|| substr($value, 0, 8) == "https://") {
0 commit comments