mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1657 curly braces rectification
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user