OSDN Git Service

プロフィール表示時に最新発言が返ってこないユーザーの表示ができなかったバグを修正
authorsyo68k <syo68k@users.sourceforge.jp>
Wed, 19 Jan 2011 04:55:07 +0000 (04:55 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:18:35 +0000 (23:18 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@1375 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/ShowUserInfo.vb

index 4ff173c..7238fb3 100644 (file)
@@ -85,14 +85,15 @@ Public Class ShowUserInfo
                 _info.RecentPost = user.Status.Text
                 _info.PostCreatedAt = DateTimeParse(user.Status.CreatedAt)
                 _info.PostSource = user.Status.Source
+                If Not _info.PostSource.Contains("</a>") Then
+                    _info.PostSource += "</a>"
+                End If
             Catch ex As Exception
                 _info.RecentPost = Nothing
                 _info.PostCreatedAt = Nothing
                 _info.PostSource = Nothing
             End Try
-            If Not _info.PostSource.Contains("</a>") Then
-                _info.PostSource += "</a>"
-            End If
+
         Catch ex As Exception
             Return False
         End Try