From 1a61cee5a7e20e4f0c170a369dab67d8221c5743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Thu, 26 Jan 2017 16:01:56 +0100 Subject: [PATCH] added spaces + some curly braces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- include/text.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }