Commits

Anonymous committed 7a5f8a2

[svn r1518] Fix: 既存日記の編集で新規日記が登録される (fixes #346)

Comments (0)

Files changed (1)

webapp/modules/pc/page/h_diary_edit_confirm.php

         $tagsname_list = array_unique(explode(" ", rtrim($tagsname)));
         if (count($tagsname_list) > 5) {
             $_REQUEST['msg'] = 'タグの指定は5個以下にしてください';
-            openpne_forward('pc', 'page', 'h_diary_add');
+            openpne_forward('pc', 'page', 'h_diary_edit');
             exit;
         }
         foreach ($tagsname_list as $value) {
             if(mb_strlen($value, 'UTF-8') > 20) {
                 $_REQUEST['msg'] = 'タグの文字数は20文字以内にしてください(半角全角ともに)';
-                openpne_forward('pc', 'page', 'h_diary_add');
+                openpne_forward('pc', 'page', 'h_diary_edit');
                 exit;
             }
         }