Parcourir la source

fix broken robots.txt

George Baugh il y a 1 an
Parent
commit
66b0023b0d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/TCMS.pm

+ 1 - 1
lib/TCMS.pm

@@ -345,7 +345,7 @@ sub _app {
 }
 
 #XXX Return a clone of the routing table ref, because code modifies it later
-sub _routes ($data) {
+sub _routes ($data={}) {
     state %routes;
     return clone(\%routes) if %routes;