* Finish task #110591 for peer testing.
This commit is contained in:
+1
-1
@@ -3,4 +3,4 @@ ALTER TABLE `zt_project` ADD COLUMN `parallel` mediumint(9) NOT NULL DEFAULT '0'
|
||||
ALTER TABLE `zt_demand` CHANGE `product` `product` varchar(255) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `zt_story` ADD COLUMN `retractedReason` ENUM('', 'omit', 'other') NOT NULL DEFAULT '';
|
||||
ALTER TABLE `zt_story` ADD COLUMN `retractedBy` varchar(255) NOT NULL DEFAULT '';
|
||||
ALTER TABLE `zt_story` ADD COLUMN `retractedDate` datetime NOT NULL;
|
||||
ALTER TABLE `zt_story` ADD COLUMN `retractedDate` datetime;
|
||||
|
||||
@@ -649,10 +649,10 @@ class actionModel extends model
|
||||
$action->extra = sprintf($this->lang->execution->action->extra, '<strong>' . join(', ', $linkedProducts) . '</strong>');
|
||||
}
|
||||
}
|
||||
elseif($objectType == 'story' && $actionName == 'retracted')
|
||||
elseif($objectType == 'demand' && $actionName == 'retracted')
|
||||
{
|
||||
$story = $this->loadModel('story')->getById($objectID);
|
||||
$action->extra = "#{$story->id} {$this->lang->story->title} {$story->title}";
|
||||
$story = $this->loadModel('story')->getById($action->extra);
|
||||
$action->extra = "#{$action->extra} {$this->lang->story->title} " . html::a(helper::createLink('story', 'view', "storyID=$story->id"), "$story->title");
|
||||
}
|
||||
$action->history = isset($histories[$actionID]) ? $histories[$actionID] : array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user