diff --git a/boot.php b/boot.php index 3bf85b14f..b83f494dd 100644 --- a/boot.php +++ b/boot.php @@ -721,8 +721,8 @@ class App { } // Diaspora style profile url - if (substr($this->cmd,0,2) === 'u/') { - $this->cmd = 'profile/' . substr($this->cmd,2); + if (substr($this->cmd, 0, 2) === 'u/') { + $this->cmd = 'profile/' . substr($this->cmd, 2); }