This commit is contained in:
zhouxudong
2022-04-18 13:59:09 +08:00
parent 532920579e
commit c449b53e4b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -739,6 +739,7 @@ class actionModel extends model
elseif($action->action == 'createmr' and strpos($action->extra, '::') !== false)
{
list($mrCreatedDate, $mrActor, $mrLink) = explode('::', $action->extra);
if(isonlybody()) $mrLink .= '?onlybody=yes';
$this->app->loadLang('mr');
$desc = sprintf($this->lang->mr->createAction, $mrCreatedDate, $mrActor, $mrLink);
}
+1 -1
View File
@@ -1415,7 +1415,7 @@ class mrModel extends model
/* Get link action text. */
$MR = $this->getByID($MRID);
$users = $this->loadModel('user')->getPairs('noletter');
$MRCreateAction = $MR->createdDate . '::' . zget($users, $MR->createdBy) . '::' . helper::createLink('mr', 'view', "mr={$MR->id}", '', true);
$MRCreateAction = $MR->createdDate . '::' . zget($users, $MR->createdBy) . '::' . helper::createLink('mr', 'view', "mr={$MR->id}");
foreach($links as $linkID)
{