From 67163324bb056271800398d41f0483b2f97766e1 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 5 Jan 2023 16:57:18 +0100 Subject: [PATCH] set end of conversion in any case, not just if iptc data was found --- inc/inc.ClassConversionServiceImageToText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/inc.ClassConversionServiceImageToText.php b/inc/inc.ClassConversionServiceImageToText.php index a0cc2cd86..76816ea12 100644 --- a/inc/inc.ClassConversionServiceImageToText.php +++ b/inc/inc.ClassConversionServiceImageToText.php @@ -58,8 +58,8 @@ class SeedDMS_ConversionServiceImageToText extends SeedDMS_ConversionServiceBase if(isset($iptcdata[$key])) $txt .= implode(' ', $iptcdata[$key])."\n"; } - $end = microtime(true); } + $end = microtime(true); if($this->logger) { $this->logger->log('Conversion from '.$this->from.' to '.$this->to.' by extracting iptc took '.($end-$start).' sec.', PEAR_LOG_INFO); }