From 6deb70d17d92135bf235edff562b80b3cb54fee9 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 6 Mar 2004 17:41:31 +0000 Subject: [PATCH] - MFH #27238 fix (ilia ok) --- ext/standard/iptc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/iptc.c b/ext/standard/iptc.c index 1e69dfa79b..f0996e4c3a 100644 --- a/ext/standard/iptc.c +++ b/ext/standard/iptc.c @@ -320,7 +320,7 @@ PHP_FUNCTION(iptcparse) tagsfound = 0; /* number of tags already found */ while (inx < length) { /* find 1st tag */ - if ((buffer[inx] == 0x1c) && (buffer[inx+1] == 0x02)){ + if ((buffer[inx] == 0x1c) && ((buffer[inx+1] == 0x01) || (buffer[inx+1] == 0x02))){ break; } else { inx++; -- 2.50.1