X-Git-Url: http://git.osdn.net/view?p=nucleus-jp%2Fnucleus-next.git;a=blobdiff_plain;f=nucleus%2Fxmlrpc%2Fapi_metaweblog.inc.php;h=ee580cbc2331d4107ff4c49f155c91fae77159a9;hp=2cadc11f698e93dc839cce7a5be6ca5a41759d0d;hb=d662fa8749913c8fded8e4b83562a6303878431c;hpb=ef9ce959d3fbbdba245045bcbbcebe44e0195efd diff --git a/nucleus/xmlrpc/api_metaweblog.inc.php b/nucleus/xmlrpc/api_metaweblog.inc.php index 2cadc11..ee580cb 100644 --- a/nucleus/xmlrpc/api_metaweblog.inc.php +++ b/nucleus/xmlrpc/api_metaweblog.inc.php @@ -2,7 +2,7 @@ /* * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/) - * Copyright (C) 2002-2012 The Nucleus Group + * Copyright (C) 2002-2009 The Nucleus Group * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -15,8 +15,8 @@ * This file contains definitions for the methods of the metaWeblog API * * @license http://nucleuscms.org/license.txt GNU General Public License - * @copyright Copyright (C) 2002-2012 The Nucleus Group - * @version $Id: api_metaweblog.inc.php 1534 2011-06-22 06:13:23Z sakamocchi $ + * @copyright Copyright (C) 2002-2009 The Nucleus Group + * @version $Id: api_metaweblog.inc.php 1860 2012-05-19 03:47:59Z sakamocchi $ */ @@ -75,7 +75,8 @@ $trackbacks[] = _getArrayVal($tblist, $i); } - $manager->notify('SendTrackback', array ('tb_id' => $itemid, 'urls' => & $trackbacks)); + $data = array('tb_id' => $itemid, 'urls' => &$trackbacks); + $manager->notify('SendTrackback', $data); } return $res; @@ -209,7 +210,8 @@ $trackbacks[] = _getArrayVal($tblist, $i); } - $manager->notify('SendTrackback', array ('tb_id' => $itemid, 'urls' => & $trackbacks)); + $data = array('tb_id' => $itemid, 'urls' => &$trackbacks); + $manager->notify('SendTrackback', $data); } return $res; @@ -532,4 +534,4 @@ ) ); -?> \ No newline at end of file +?>