fix warnings
authorAlan <alan@roojs.com>
Tue, 15 Feb 2022 08:54:34 +0000 (16:54 +0800)
committerAlan <alan@roojs.com>
Tue, 15 Feb 2022 08:54:34 +0000 (16:54 +0800)
MTrackWeb.php
MTrackWeb/Hook/git.php

index b78a4d5..27a511a 100644 (file)
@@ -276,7 +276,7 @@ class MTrackWeb extends HTML_FlexyFramework_Page
         return HTML_FlexyFramework::run('Wiki/Today'); 
  
     }
-    function post()
+    function post($request)
     {
         header("Status: 404 Not Found");
         die("invalid post request? ");
index ce00629..8ffbb00 100755 (executable)
@@ -51,7 +51,7 @@ class MTrackWeb_Hook_git extends MTrackWeb
     
     
      
-    function get($action)
+    function get($action='')
     {
         try {
             $repo = DB_DataObject::factory('mtrack_repos');