]> git.mxchange.org Git - friendica.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 17 May 2017 16:28:00 +0000 (18:28 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:58 +0000 (22:49 +0200)
- added more curly braces
- replaced if (blaFoo()) { return true; } return false; with return blaFoo();
- added spaces

Signed-off-by: Roland Häder <roland@mxchange.org>
include/text.php

index b7f7b5abb13e377b1f686d2f58b94c044057d95c..f3b94cd8cb3702fc2c0aa9c2c801f0c02f27fb98 100644 (file)
@@ -182,6 +182,7 @@ function autoname($len) {
                        break;
                }
        }
+
        if (substr($word, -1) == 'q') {
                $word = substr($word, 0, -1);
        }