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 16e0d22 commit 808754eCopy full SHA for 808754e
src/libraries/UserProfile.php
@@ -148,7 +148,9 @@ public function getUserId() {
148
}
149
150
public function getWebsite($clean = true) {
151
- if (!is_string($this->website) || !$clean) return $this->website;
+ if (empty($this->website) || !$clean) {
152
+ return $this->website;
153
+ }
154
$value = strtolower($this->website);
155
if (substr($value, 0, 7) == "http://") {
156
return substr($value, 7);
0 commit comments