From dd5174ec9a2eaa6dde0d1de9dcd2e8d8dcc8dbc0 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 2 May 2022 15:31:48 +0200 Subject: [PATCH] related to #1657 curly braces rectification --- admin/include/functions_metadata.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php index 0bac986f9..f5bae4c2a 100644 --- a/admin/include/functions_metadata.php +++ b/admin/include/functions_metadata.php @@ -198,15 +198,19 @@ function get_sync_metadata($infos) $infos['is_svg'] = $is_svg; - if (isset($width)) { + if (isset($width)) + { $infos['width'] = $width; - } elseif (isset($vb)) { + } elseif (isset($vb)) + { $infos['width'] = explode(" ", $vb)[2]; } - if (isset($height)) { + if (isset($height)) + { $infos['height'] = $height; - } elseif (isset($vb)) { + } elseif (isset($vb)) + { $infos['height'] = explode(" ", $vb)[3]; } }