From 16415520e7e538bd8da3993f9b429b51d64fc5b2 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 30 Mar 2017 21:50:19 +0200 Subject: [PATCH] it is space-time! ;-) Signed-off-by: Roland Haeder --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 3bf85b14f4..b83f494dd7 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); }