OSDN Git Service

bookmarklet.phpの単純なコード修正
[nucleus-jp/nucleus-next.git] / nucleus / bookmarklet.php
index 867f541..6c2bee1 100644 (file)
@@ -127,8 +127,6 @@ function bm_doAddItem($skin)
        bm_message($skin, _ITEM_ADDED, $message,$extrahead);
        
        return;
-       
-       return;
 }
 
 function bm_doEditItem($skin)
@@ -355,10 +353,7 @@ function bm_doError($skin, $msg)
 function bm_message($skin, $title, $msg, $extrahead = '')
 {
        Admin::$extrahead = $extrahead;
-       Admin::$contents = array(
-               'title' => $title,
-               'msg'   => $msg
-       );
+       Admin::$headMess = $msg;
        $skin->parse('adminerrorpage');
        
        return;