mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Fix issue processwire/processwire-issues#599
This commit is contained in:
@@ -135,7 +135,7 @@ class ImageInspector extends WireData {
|
||||
if(is_array($additionalInfo) && $parseAppmarker) {
|
||||
$appmarker = array();
|
||||
foreach($additionalInfo as $k => $v) {
|
||||
$appmarker[$k] = substr($v, 0, strpos($v, chr(null)));
|
||||
$appmarker[$k] = substr($v, 0, strpos($v, chr(0)));
|
||||
}
|
||||
$this->info['appmarker'] = $appmarker;
|
||||
if(isset($additionalInfo['APP13'])) {
|
||||
@@ -158,7 +158,7 @@ class ImageInspector extends WireData {
|
||||
* Check orientation (@horst)
|
||||
*
|
||||
* @param array
|
||||
* @return bool
|
||||
* @return array
|
||||
* @todo there is already a checkOrientation method in ImageSizerEngine - do we need both?
|
||||
*
|
||||
*/
|
||||
@@ -273,8 +273,6 @@ class ImageInspector extends WireData {
|
||||
/**
|
||||
* parse JPEG Image and collect information into $this->info
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
*/
|
||||
protected function loadImageInfoJpg() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user