* Fix bug #22429.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
$config->action->objectNameFields['product'] = 'name';
|
||||
$config->action->objectNameFields['story'] = 'title';
|
||||
$config->action->objectNameFields['requirement'] = 'title';
|
||||
$config->action->objectNameFields['productplan'] = 'title';
|
||||
$config->action->objectNameFields['release'] = 'name';
|
||||
$config->action->objectNameFields['program'] = 'name';
|
||||
|
||||
@@ -1187,7 +1187,9 @@ class story extends control
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->story->delete(TABLE_STORY, $storyID);
|
||||
$this->dao->update(TABLE_STORY)->set('deleted')->eq(1)->where('id')->eq($storyID)->exec();
|
||||
$this->loadModel('action')->create($story->type, $storyID, 'deleted', '', ACTIONMODEL::CAN_UNDELETED);
|
||||
|
||||
if($story->parent > 0)
|
||||
{
|
||||
$this->story->updateParentStatus($story->id);
|
||||
|
||||
Reference in New Issue
Block a user