[Tween-svn] [1375] プロフィール表示時に最新発言が返ってこないユーザーの表示ができなかったバグを修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 1月 19日 (水) 13:55:07 JST


Revision: 1375
          http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1375
Author:   syo68k
Date:     2011-01-19 13:55:07 +0900 (Wed, 19 Jan 2011)

Log Message:
-----------
プロフィール表示時に最新発言が返ってこないユーザーの表示ができなかったバグを修正

Modified Paths:
--------------
    trunk/Tween/ShowUserInfo.vb


-------------- next part --------------
Modified: trunk/Tween/ShowUserInfo.vb
===================================================================
--- trunk/Tween/ShowUserInfo.vb	2011-01-19 03:39:14 UTC (rev 1374)
+++ trunk/Tween/ShowUserInfo.vb	2011-01-19 04:55:07 UTC (rev 1375)
@@ -85,14 +85,15 @@
                 _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



Tween-svn メーリングリストの案内
Back to archive index