]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
bug fix
authorJoey Hess <joey@kitenet.net>
Sat, 8 Dec 2007 23:25:22 +0000 (18:25 -0500)
committerJoey Hess <joey@kitenet.net>
Sat, 8 Dec 2007 23:25:22 +0000 (18:25 -0500)
IkiWiki.pm

index ab94f86225cef55c21617fa9e818b8a8aa3ee1d2..cdbcd2481948266d1cac838e0179db9a4fe0cfbb 100644 (file)
@@ -871,7 +871,7 @@ sub loadindex () { #{{{
                        $pagecase{lc $page}=$page;
                        foreach my $k (grep /_/, keys %items) {
                                my ($id, $key)=split(/_/, $k, 2);
-                               $pagestate{$page}{decode_entities($id)}{decode_entities($key)}=$items{$k};
+                               $pagestate{$page}{decode_entities($id)}{decode_entities($key)}=$items{$k}[0];
                        }
                }
                $oldrenderedfiles{$page}=[@{$items{dest}}];