OSDN Git Service

FIX: 関数の引数に不適切な&を付与していたバグの修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Sat, 19 May 2012 04:03:36 +0000 (13:03 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Sat, 19 May 2012 04:03:36 +0000 (13:03 +0900)
nucleus/convert/greymatter.php
nucleus/libs/AdminActions.php

index 2221583..f0bda61 100644 (file)
@@ -526,7 +526,7 @@ function gm_linkmo($url, $mouseover, $text) {
 function gm_popup($filename, $authorid, $text, $width, $height) {
        global $grey_datapath, $manager;
 
-       $res = Media::addMediaObject(&$manager->getMember($authorid), "$grey_datapath$filename", $filename);
+       $res = Media::addMediaObject($manager->getMember($authorid), "$grey_datapath$filename", $filename);
 
        if ($res != "")
                die("error copying media files: $res");
index 5b085ef..8848606 100644 (file)
@@ -2217,7 +2217,7 @@ class AdminActions extends BaseActions
        public function parse_date($format = 'c')
        {
                global $CONF, $manager;
-               echo i18n::formatted_datetime($format, time(), 'iso8601', &$manager->getBlog((integer) $CONF['DefaultBlog']));
+               echo i18n::formatted_datetime($format, time(), 'iso8601', $manager->getBlog((integer) $CONF['DefaultBlog']));
                return;
        }