googledocs MDL-21881 - restore icons to repo plugin
authorDan Poltawski <dan.poltawski@lancaster.ac.uk>
Sun, 21 Mar 2010 13:32:43 +0000 (13:32 +0000)
committerDan Poltawski <dan.poltawski@lancaster.ac.uk>
Sun, 21 Mar 2010 13:32:43 +0000 (13:32 +0000)
lib/googleapi.php

index 8a19595..4151cdb 100644 (file)
@@ -325,7 +325,7 @@ class google_docs {
                     'url' => "{$gdoc->link[0]->attributes()->href}",
                     'source' => $source,
                     'date'   => usertime(strtotime($gdoc->updated)),
-                    'thumbnail' => $OUTPUT->pix_url(file_extension_icon($title, 32))
+                    'thumbnail' => (string) $OUTPUT->pix_url(file_extension_icon($title, 32))
                 );
             }
         }