]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
where did that string parameter come from? - fixed now
authorCash Costello <cash.costello@gmail.com>
Fri, 17 Jul 2009 11:08:46 +0000 (11:08 +0000)
committerCash Costello <cash.costello@gmail.com>
Fri, 17 Jul 2009 11:08:46 +0000 (11:08 +0000)
lib/exif.php

index 5343044ea3571d240561cacb2d50c0eb029eb85e..81f5dd9603137141427681096587046c154b0929 100644 (file)
@@ -12,7 +12,7 @@ function td_get_exif($file) {
 
        $filename = $file->getFilenameOnFilestore();
        $exif = exif_read_data($filename);
-       create_metadata($file->getGUID(), "tp_exif", serialize($exif), "string", $file->getObjectOwnerGUID(), ACCESS_PUBLIC);
+       create_metadata($file->getGUID(), "tp_exif", serialize($exif), "text", $file->getObjectOwnerGUID(), ACCESS_PUBLIC);
 }
 
 function tp_exif_formatted($file_guid) {