Explorar o código

fix broken robots.txt

George Baugh hai 1 ano
pai
achega
66b0023b0d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;