Update of /cvsroot/linpha/linpha/include
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv17001/include
Modified Files:
metadata.class.php
Log Message:
prevent notice during import if exif header is missing or broken...
Index: metadata.class.php
===================================================================
RCS file: /cvsroot/linpha/linpha/include/metadata.class.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** metadata.class.php 4 Jan 2007 07:48:40 -0000 1.42
--- metadata.class.php 22 Nov 2007 16:18:22 -0000 1.43
***************
*** 935,939 ****
* just get orientation tag data
*/
! $rotation = $meta[0][274]['Data'][0];
if(is_numeric($rotation))
--- 935,939 ----
* just get orientation tag data
*/
! $rotation = @$meta[0][274]['Data'][0];
if(is_numeric($rotation))
***************
*** 999,1001 ****
}
! ?>
\ No newline at end of file
--- 999,1001 ----
}
! ?>
|