* Code for story action bug.
This commit is contained in:
@@ -592,8 +592,9 @@ class actionModel extends model
|
||||
{
|
||||
if($objectType == 'story')
|
||||
{
|
||||
$moduleName = $this->app->rawModule;
|
||||
$desc['extra'] = $this->lang->{$moduleName}->{$desc['extra']};
|
||||
$story = $this->fetchByID($action->objectID, $objectType);
|
||||
if($story->type != 'story') $this->app->loadLang($story->type);
|
||||
$desc['extra'] = $this->lang->{$story->type}->{$desc['extra']};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -244,7 +244,7 @@ detailBody
|
||||
)
|
||||
)
|
||||
),
|
||||
history(set::objectID($story->id)),
|
||||
history(set::objectID($story->id), set::objectType('story')),
|
||||
floatToolbar
|
||||
(
|
||||
set::object($story),
|
||||
|
||||
Reference in New Issue
Block a user