Bug(バグ) #1378 » opCommunityTopicPlugin-1379.patch
apps/pc_frontend/modules/communityTopic/templates/_configNotificationMail.php (作業コピー) | ||
---|---|---|
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=')): ?>
|
||
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=') && $form): ?>
|
||
<?php op_include_form('configNotificationMailBox', $form, array(
|
||
'mark_required_field' => false,
|
||
'url' => url_for('@config_community_topic_notification_mail?id='.$sf_request->getParameter('id')),
|
apps/mobile_frontend/modules/communityTopic/templates/_configNotificationMail.php (作業コピー) | ||
---|---|---|
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=') && $form): ?>
|
||
<?php op_include_form('configNotificationMailBox', $form, array(
|
||
'title' => __('Notification Mail Configuration'),
|
||
'mark_required_field' => false,
|
||
'url' => url_for('@config_community_topic_notification_mail?id='.$sf_request->getParameter('id')),
|
||
'button' => __('Save'),
|
||
)); ?>
|
||
<?php endif; ?>
|
lib/action/opCommunityTopicPluginTopicComponents.class.php (作業コピー) | ||
---|---|---|
public function executeConfigNotificationMail($request)
|
||
{
|
||
$this->form = new opConfigCommunityTopicNotificationMailForm($request['id']);
|
||
try
|
||
{
|
||
$this->form = new opConfigCommunityTopicNotificationMailForm($request['id']);
|
||
}
|
||
catch (RuntimeException $e)
|
||
{
|
||
// do nothing.
|
||
}
|
||
}
|
||
}
|