Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler.image.php |
— | — | @@ -260,8 +260,8 @@ |
261 | 261 | } |
262 | 262 | } |
263 | 263 | |
264 | | - $ofs = (int)$m[1]; |
265 | | - $ignore = !empty( $ignoreIFDs[ $ofs ] ); |
| 264 | + $offset = (int)$m[1]; |
| 265 | + $ignore = !empty( $ignoreIFDs[ $offset ] ); |
266 | 266 | } else if ( preg_match('#^(TIFF.*?Directory): (.*?/.*?): (.*)#i', $row, $m) ) { |
267 | 267 | $bypass = false; |
268 | 268 | $msg = $m[3]; |
— | — | @@ -294,8 +294,8 @@ |
295 | 295 | } else if ( preg_match('/.*IFDOffset/', $key) ) { |
296 | 296 | # ignore extra IFDs, see <http://www.awaresystems.be/imaging/tiff/tifftags/exififd.html> |
297 | 297 | # Note: we assume that we will always see the reference before the actual IFD, so we know which IFDs to ignore |
298 | | - $ofs = (int)$value; |
299 | | - $ignoreIFDs[$ofs] = true; |
| 298 | + $offset = (int)$value; |
| 299 | + $ignoreIFDs[$offset] = true; |
300 | 300 | } |
301 | 301 | } else { |
302 | 302 | // strange line |