* Fix bug #20178.
This commit is contained in:
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user