Make sure that the URLs are set before comitting posts made from CS emails.
This commit is contained in:
parent
1bf24f2682
commit
c1155d9ab9
2 changed files with 3 additions and 1 deletions
|
|
@ -119,8 +119,9 @@ sub addPost {
|
|||
$storage->addFileFromScalar($filename, $file->{content});
|
||||
}
|
||||
}
|
||||
$post->requestAutoCommit;
|
||||
##Modify, then save
|
||||
$post->postProcess;
|
||||
$post->requestAutoCommit;
|
||||
$post->getThread->unarchive if ($post->getThread->get("status") eq "archived");
|
||||
return $post;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue