From: Roland Häder Date: Thu, 26 Jan 2017 15:01:56 +0000 (+0100) Subject: added spaces + some curly braces X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a61cee5a7e20e4f0c170a369dab67d8221c5743;p=friendica.git added spaces + some curly braces Signed-off-by: Roland Häder --- diff --git a/include/text.php b/include/text.php index c0edd482b8..b7f7b5abb1 100644 --- a/include/text.php +++ b/include/text.php @@ -1830,8 +1830,7 @@ function file_tag_update_pconfig($uid, $file_old, $file_new, $type = 'file') { if (!intval($uid)) { return false; - } - if ($file_old == $file_new) { + } elseif ($file_old == $file_new) { return true; }