From: Roland Häder Date: Wed, 17 May 2017 16:28:00 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c9dc6526fad4fe4ee50d8784a715b61857107a9;p=friendica.git Continued: - added more curly braces - replaced if (blaFoo()) { return true; } return false; with return blaFoo(); - added spaces Signed-off-by: Roland Häder --- diff --git a/include/text.php b/include/text.php index b7f7b5abb1..f3b94cd8cb 100644 --- a/include/text.php +++ b/include/text.php @@ -182,6 +182,7 @@ function autoname($len) { break; } } + if (substr($word, -1) == 'q') { $word = substr($word, 0, -1); }