Skip to content

Commit 4b061ff

Browse files
author
Kousuke Ebihara
committed
updated to released version of code
1 parent dfa0226 commit 4b061ff

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

lib/api/opAPICommunityMember.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public function createEntryByInstance(Doctrine_Record $communityMember, SimpleXM
8484

8585
foreach ($member->getProfiles() as $profile)
8686
{
87-
$child = $profiles->addChild('div', (string)$profile);
87+
$value = (string)$profile;
88+
$child = $profiles->addChild('div', $value);
8889
$child->addAttribute('id', $profile->getName());
8990
}
9091

lib/api/opGDataDocument.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ public function addValidStringToNode($node, $string)
6161

6262
if (Doctrine::getTable('SnsConfig')->get('op_web_api_plugin_using_cdata', false))
6363
{
64-
$child = $doc->createCDataSection((string)$string);
64+
$child = $doc->createCDataSection($string);
6565
}
6666
else
6767
{
68-
$child = $doc->createTextNode((string)$string);
68+
$child = $doc->createTextNode($string);
6969
}
7070

7171
$domNode->appendChild($child);

package.xml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
<email />
1414
<active>yes</active>
1515
</lead>
16-
<date>2009-09-26</date>
17-
<time>18:28:52</time>
16+
<date>2009-12-12</date>
17+
<time>22:09:35</time>
1818
<version>
19-
<release>0.3.8</release>
20-
<api>0.3.8</api>
19+
<release>0.3.9</release>
20+
<api>0.3.9</api>
2121
</version>
2222
<stability>
2323
<release>beta</release>
2424
<api>beta</api>
2525
</stability>
2626
<license>apache</license>
27-
<notes>This plugin is now handling string type node correctly.</notes>
27+
<notes>fixed segfault and converting Emoji</notes>
2828
<contents>
2929
<dir baseinstalldir="/" name="/">
3030
<file baseinstalldir="/" md5sum="7142864d664dd1080467a65f1b6feedc" name="apps/api/modules/feeds/actions/actions.class.php" role="data" />
@@ -40,11 +40,11 @@
4040
<file baseinstalldir="/" md5sum="97affd128c5aa37edc37b8f1bf1052dd" name="lib/opCheckAllowedAccessWebAPI.class.php" role="data" />
4141
<file baseinstalldir="/" md5sum="7436260e21fcdcf61960f2386c1637c9" name="lib/opWebAPIRoute.class.php" role="data" />
4242
<file baseinstalldir="/" md5sum="bc219e649eb1c169bb29a2eb150d66c2" name="lib/opWebAPIRouteCollection.class.php" role="data" />
43-
<file baseinstalldir="/" md5sum="961149c42578c8fb5b9c641a1408d14f" name="lib/api/opAPI.class.php" role="data" />
43+
<file baseinstalldir="/" md5sum="275e28a8a23fbf149b13804ec186ec44" name="lib/api/opAPI.class.php" role="data" />
4444
<file baseinstalldir="/" md5sum="61ee834cbf8ad2a8a0dfa7996af091e0" name="lib/api/opAPICommunity.class.php" role="data" />
4545
<file baseinstalldir="/" md5sum="fade8cef35eb9f380bf0c732abf552c3" name="lib/api/opAPICommunityEvent.class.php" role="data" />
4646
<file baseinstalldir="/" md5sum="90965a4b0c35adbc8835fa3f91437087" name="lib/api/opAPICommunityEventComment.class.php" role="data" />
47-
<file baseinstalldir="/" md5sum="968188631c98e156d3b4ed4d348388ff" name="lib/api/opAPICommunityMember.class.php" role="data" />
47+
<file baseinstalldir="/" md5sum="2949b2f993037cd82163ebf2a2362738" name="lib/api/opAPICommunityMember.class.php" role="data" />
4848
<file baseinstalldir="/" md5sum="4380908364032e91c576df935a7f0d9a" name="lib/api/opAPICommunityTopic.class.php" role="data" />
4949
<file baseinstalldir="/" md5sum="ff979765df517a80f0ab4b9390b5045e" name="lib/api/opAPICommunityTopicComment.class.php" role="data" />
5050
<file baseinstalldir="/" md5sum="3bf48ced668305f13ce1d9c5109ac512" name="lib/api/opAPIDiary.class.php" role="data" />
@@ -181,5 +181,18 @@
181181
<license>apache</license>
182182
<notes>This plugin is now handling string type node correctly.</notes>
183183
</release>
184+
<release>
185+
<version>
186+
<release>0.3.9</release>
187+
<api>0.3.9</api>
188+
</version>
189+
<stability>
190+
<release>beta</release>
191+
<api>beta</api>
192+
</stability>
193+
<date>2009-12-12</date>
194+
<license>apache</license>
195+
<notes>fixed segfault and converting Emoji</notes>
196+
</release>
184197
</changelog>
185198
</package>

0 commit comments

Comments
 (0)