X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Flibs%2Fxmp%2FXMP.php;h=9d886bf9a0972bc6527c8f11d98a3e45286caafd;hb=f7e1770fb832aa77bf4e16ce8cc815f2b24dd10d;hp=f1df7f19dde18ab210247aee055102c799429e1c;hpb=55043101b2a89ea1e811b6d35e415f57ed0bf41d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/xmp/XMP.php b/includes/libs/xmp/XMP.php index f1df7f19dd..9d886bf9a0 100644 --- a/includes/libs/xmp/XMP.php +++ b/includes/libs/xmp/XMP.php @@ -272,7 +272,6 @@ class XMPReader implements LoggerAwareInterface { if ( isset( $data['xmp-exif']['GPSAltitudeRef'] ) && isset( $data['xmp-exif']['GPSAltitude'] ) ) { - // Must convert to a real before multiplying by -1 // XMPValidate guarantees there will always be a '/' in this value. list( $nom, $denom ) = explode( '/', $data['xmp-exif']['GPSAltitude'] ); @@ -1004,7 +1003,6 @@ class XMPReader implements LoggerAwareInterface { */ private function startElementModeInitial( $ns, $tag, $attribs ) { if ( $ns !== self::NS_RDF ) { - if ( isset( $this->items[$ns][$tag] ) ) { if ( isset( $this->items[$ns][$tag]['structPart'] ) ) { // If this element is supposed to appear only as @@ -1066,7 +1064,6 @@ class XMPReader implements LoggerAwareInterface { */ private function startElementModeStruct( $ns, $tag, $attribs ) { if ( $ns !== self::NS_RDF ) { - if ( isset( $this->items[$ns][$tag] ) ) { if ( isset( $this->items[$ns][$this->ancestorStruct]['children'] ) && !isset( $this->items[$ns][$this->ancestorStruct]['children'][$tag] )