From 2bf25e735482c0968168b12af6510f65e83cb0b6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 8 Mar 2021 10:30:35 +0800 Subject: [PATCH] merge change types --- MTrackWeb/Report.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MTrackWeb/Report.php b/MTrackWeb/Report.php index d1bc3878..0a61fcc9 100644 --- a/MTrackWeb/Report.php +++ b/MTrackWeb/Report.php @@ -153,8 +153,9 @@ class MTrackWeb_Report extends MTrackWeb } // in theory... everything else is a 'save'... try { + // this does not match api!?? $cs = DB_DataObject::Factory('mtrack_change'); - $cs->begin( "report:" . $rep->summary, $_POST['comment']); + $cs->beginChange( "report:" . $rep->summary, $_POST['comment']); $rep->save($cs); $cs->commit(); return $this->get($pi); -- 2.39.2