changeset 342:4dd202fffdf7

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Aug 2023 01:45:44 +0300
parents 9210052bb649
children d6422e856ecd
files mgtool.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mgtool.php	Sun Aug 27 01:45:36 2023 +0300
+++ b/mgtool.php	Sun Aug 27 01:45:44 2023 +0300
@@ -499,9 +499,7 @@
 
   // Get image title
   if (($xres = $xmpOb->xpath("RDF/Description/title/li")) !== FALSE)
-  {
     $xmpData["title"] = implode(" ", array_map(function($xe) { return (string) $xe; }, $xres));
-  }
 
   return $xmpData;
 }
@@ -564,6 +562,7 @@
       // Key didn't exist, try for default
       if ($default !== NULL)
         $dst[$dkey] = $default;
+
       return FALSE;
     }
     else
@@ -572,6 +571,7 @@
 
   // Optionally convert the input value
   $dst[$dkey] = mgConvertExifData($tmp, $vtype);
+
   return TRUE;
 }