소스 검색

fix broken robots.txt

George Baugh 1 년 전
부모
커밋
66b0023b0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;