Tadashi Okoshi
slash****@users*****
2006年 6月 5日 (月) 18:59:30 JST
Index: affelio/lib/Affelio/SNS/FriendManager.pm
diff -u affelio/lib/Affelio/SNS/FriendManager.pm:1.23 affelio/lib/Affelio/SNS/FriendManager.pm:1.24
--- affelio/lib/Affelio/SNS/FriendManager.pm:1.23 Thu Jun 1 21:50:45 2006
+++ affelio/lib/Affelio/SNS/FriendManager.pm Mon Jun 5 18:59:30 2006
@@ -14,7 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# $Id: FriendManager.pm,v 1.23 2006/06/01 12:50:45 slash5234 Exp $
+# $Id: FriendManager.pm,v 1.24 2006/06/05 09:59:30 slash5234 Exp $
package Affelio::SNS::FriendManager;
{
@@ -602,6 +602,14 @@
}else{
$where_block = "WHERE af_type = '$type' ";
}
+ }else{
+ #In case type="", we assume type="Personal or Standalone"
+ if($where_block ne ""){
+ $where_block = "$where_block or af_type = 'Personal' or af_type = 'Standalone' ";
+ }else{
+ $where_block = "WHERE af_type = 'Personal' or af_type = 'Standalone' ";
+ }
+
}
##############################