From be97e52549979874b41bf47ea90339a21bfd3202 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 15 Feb 2022 16:54:34 +0800 Subject: [PATCH] fix warnings --- MTrackWeb.php | 2 +- MTrackWeb/Hook/git.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MTrackWeb.php b/MTrackWeb.php index b78a4d5b..27a511ae 100644 --- a/MTrackWeb.php +++ b/MTrackWeb.php @@ -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? "); diff --git a/MTrackWeb/Hook/git.php b/MTrackWeb/Hook/git.php index ce006296..8ffbb005 100755 --- a/MTrackWeb/Hook/git.php +++ b/MTrackWeb/Hook/git.php @@ -51,7 +51,7 @@ class MTrackWeb_Hook_git extends MTrackWeb - function get($action) + function get($action='') { try { $repo = DB_DataObject::factory('mtrack_repos'); -- 2.39.2