Code Duplication    Length = 6-6 lines in 2 locations

src/Eccube/Controller/Admin/Content/MailTemplateController.php 2 locations

@@ 78-83 (lines=6) @@
75
            }
76
        }
77
78
        if (!$tplData) {
79
            log_info("対象ファイルが存在しません");
80
            $app->addError('admin.content.mail.edit.error', 'admin');
81
82
            return $app->redirect($app->url('admin_content_mail'));
83
        }
84
85
        $builder = $app['form.factory']->createBuilder('admin_mail_template');
86
@@ 138-143 (lines=6) @@
135
            }
136
        }
137
138
        if (!$tplData) {
139
            log_info("対象ファイルが存在しません");
140
            $app->addError('admin.content.mail.edit.error', 'admin');
141
142
            return $app->redirect($app->url('admin_content_mail'));
143
        }
144
145
        $builder = $app['form.factory']->createBuilder('admin_mail_template');
146