diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini index 504766fb..bb19b8d7 100644 --- a/system/extensions/update-available.ini +++ b/system/extensions/update-available.ini @@ -155,7 +155,7 @@ Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-20 15:24:55 +Published: 2024-04-21 11:10:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/extensions/yellow-extension.ini b/system/extensions/yellow-extension.ini index 18760177..a5e4ec67 100755 --- a/system/extensions/yellow-extension.ini +++ b/system/extensions/yellow-extension.ini @@ -8,7 +8,7 @@ Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-20 15:24:55 +Published: 2024-04-21 11:10:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/workers/core.php b/system/workers/core.php index 1bc942bb..cd987d34 100755 --- a/system/workers/core.php +++ b/system/workers/core.php @@ -2816,7 +2816,7 @@ public function detectImageInformation($fileName, $fileType = "") { ($dataMarker>="\xcd" && $dataMarker<="\xcf")) { $width = (ord($dataBuffer[$pos+7])<<8) + ord($dataBuffer[$pos+8]); $height = (ord($dataBuffer[$pos+5])<<8) + ord($dataBuffer[$pos+6]); - $type = $fileType; + $type = "jpeg"; break; } $length = (ord($dataBuffer[$pos+2])<<8) + ord($dataBuffer[$pos+3]) + 2;