From: Roland Häder Date: Thu, 20 Jul 2017 18:04:32 +0000 (+0200) Subject: Minor improvements: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2f12d6f50893d0a35d0db4ca3adbf8a3f8caa9e;p=friendica.git Minor improvements: - added spaces and curly braces - added more TODOs as there really more to be done - removed redundant braces from "return" keyword (no function) - merged 2 nested if() into one single Signed-off-by: Roland Häder --- diff --git a/include/text.php b/include/text.php index 10f6264586..f1bc512326 100644 --- a/include/text.php +++ b/include/text.php @@ -1970,6 +1970,7 @@ function is_a_date_arg($s) { */ function deindent($text, $chr = "[\t ]", $count = NULL) { $lines = explode("\n", $text); + if (is_null($count)) { $m = []; $k = 0;