From: Alan Knowles Date: Mon, 8 Mar 2021 02:30:35 +0000 (+0800) Subject: merge change types X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=2bf25e735482c0968168b12af6510f65e83cb0b6 merge change types --- 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);