]> git.mjollnir.org Git - m.o.git/commitdiff
fixed bug in title attr of flickr image that was breaking alt tags
authorPenny Leach <penny@mjollnir.org>
Sat, 13 Sep 2008 17:12:20 +0000 (18:12 +0100)
committerPenny Leach <penny@mjollnir.org>
Sat, 13 Sep 2008 17:12:20 +0000 (18:12 +0100)
comp/flickr.php

index ae7cdc75cf855d2e243c417b85eba4ede824f83d..708fa574742fd472834072269a023135358579a0 100644 (file)
@@ -16,7 +16,7 @@ function comp_flickr() {
     echo "\n";
     foreach ((array)$photos['photo'] as $photo) {
         echo '<a href="' . $photos_url . $photo['id'] . '">';
-        echo '<img alt="' . $photo['itle'] . '" ' .
+        echo '<img alt="' . $photo['title'] . '" ' .
             'src="' . $f->buildPhotoURL($photo, 'Square') . '" />';
         echo '</a>';
         $i++;