OSDN Git Service

FIX:投稿されたコメントに、URLが入力されていない時にNoticeが出ていたので修正
authorshizuki <shizuki@kinezumi.net>
Sun, 6 May 2012 07:03:05 +0000 (16:03 +0900)
committershizuki <shizuki@kinezumi.net>
Sun, 6 May 2012 07:03:05 +0000 (16:03 +0900)
nucleus/libs/COMMENTACTIONS.php

index 73bcd46..dd469f0 100644 (file)
@@ -641,7 +641,7 @@ class CommentActions extends BaseActions
         */\r
        public function parse_userlinkraw()\r
        {\r
-               echo $this->currentComment['userlinkraw'];\r
+               echo (array_key_exists('userlinkraw', $this->currentComment) && !empty($this->currentComment['userlinkraw'])) ? $this->currentComment['userlinkraw'] : '';\r
                return;\r
        }\r
        \r