]> git.mxchange.org Git - friendica.git/commitdiff
added spaces + some curly braces
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 15:01:56 +0000 (16:01 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:55 +0000 (22:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/text.php

index c0edd482b8f54796cab6a0f2182eb5a9ba406ef6..b7f7b5abb13e377b1f686d2f58b94c044057d95c 100644 (file)
@@ -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;
        }