From 1017ae2ebdcd64367f696abd0af88fe1d0e80456 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 18 Dec 2008 22:00:11 +0100 Subject: always parse file informations in JpegMeta darcs-hash:20081218210011-7ad00-670578d9882011f3a6eb9e6e219bc7ca22251d9d.gz --- inc/JpegMeta.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php index c8477fa9f..41e6e0803 100644 --- a/inc/JpegMeta.php +++ b/inc/JpegMeta.php @@ -1020,6 +1020,9 @@ class JpegMeta /*************************************************************/ function _parseAll() { + if (!isset($this->_info['file'])) { + $this->_parseFileInfo(); + } if (!isset($this->_markers)) { $this->_readJPEG(); } @@ -1043,9 +1046,6 @@ class JpegMeta if (!isset($this->_info['adobe'])) { $this->_parseMarkerAdobe(); } - if (!isset($this->_info['file'])) { - $this->_parseFileInfo(); - } } /*************************************************************/ -- cgit v1.2.3