プロジェクト

全般

プロフィール

Bug(バグ) #1378 » opCommunityTopicPlugin-1379.patch

Shogo Kawahara, 2010-07-20 19:11

差分を表示:

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.
}
}
}
    (1-1/1)