[Affelio-cvs 1352] CVS update: affelio/lib/Affelio/Managing

Back to archive index

Tadashi Okoshi slash****@users*****
2006年 6月 6日 (火) 11:08:42 JST


Index: affelio/lib/Affelio/Managing/NewsAggregator.pm
diff -u affelio/lib/Affelio/Managing/NewsAggregator.pm:1.23 affelio/lib/Affelio/Managing/NewsAggregator.pm:1.24
--- affelio/lib/Affelio/Managing/NewsAggregator.pm:1.23	Tue Jun  6 11:04:39 2006
+++ affelio/lib/Affelio/Managing/NewsAggregator.pm	Tue Jun  6 11:08:42 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: NewsAggregator.pm,v 1.23 2006/06/06 02:04:39 slash5234 Exp $
+# $Id: NewsAggregator.pm,v 1.24 2006/06/06 02:08:42 slash5234 Exp $
 
 package Affelio::Managing::NewsAggregator;
 {
@@ -81,8 +81,8 @@
 	my $af = $self->{af}; 
 	my $num = shift;        #arg(1) number
 	my $type = shift;       #arg(2) type
-	debug_print("NewsAggregator::retrieve_news: start.");
 
+	debug_print("NewsAggregator::retrieve_news: start. num=[$num] type=[$type]");
 	if($type eq ""){
 	    $type = "Personal";
 	}
@@ -113,7 +113,7 @@
 	my $num = shift;        #arg(2) number
 	my $type = shift;       #arg(3) type
 
-	debug_print("NewsAggregator::retrieve_ajax_news: start.");
+	debug_print("NewsAggregator::retrieve_ajax_news: start. soft=[$sort] num=[$num] type=[$type]");
 	if($type eq ""){
 	    $type = "Personal";
 	}
@@ -127,7 +127,7 @@
 	    $query .= " title,";
 	}
 	$query.= " datetime desc limit $num , 10";
-	$query.= " WHERE af_type='$type' ";
+	$query.= " WHERE af_type= '$type' ";
 	my $sth;
 	eval{
 	    $sth = $af->getDB->prepare($query);


Affelio-cvs メーリングリストの案内
Back to archive index