svnno****@sourc*****
svnno****@sourc*****
2008年 1月 20日 (日) 06:47:08 JST
Revision: 441 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=441 Author: tach Date: 2008-01-20 06:47:08 +0900 (Sun, 20 Jan 2008) Log Message: ----------- Fix sql error: use double-quote instead of single-quote Modified Paths: -------------- slashjp/trunk/Slash/DB/MySQL/MySQL.pm -------------- next part -------------- Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm =================================================================== --- slashjp/trunk/Slash/DB/MySQL/MySQL.pm 2008-01-19 20:28:14 UTC (rev 440) +++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm 2008-01-19 21:47:08 UTC (rev 441) @@ -12232,7 +12232,7 @@ "id IN ($id_str) AND journals.uid=users.uid") : { }; for my $id (@journal_ids) { - next unless ($self->sqlSelect('id','journals','id=$id')); + next unless ($self->sqlSelect('id','journals',"id=$id")); my $globjid = $journals_hr->{$id}; my $fixnick = $journaldata_hr->{$id}{nickname}; if (!defined $fixnick) { print STDERR scalar(gmtime) . " _addGlobjEssentials_journals no nick for journal $id\n"; }