OSDN Git Service

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