[pLog-CVS] plog/class/dao articles.class.php,1.14,1.15
Brought to you by:
jondaley
From: <phu...@us...> - 2004-02-20 17:10:40
|
Update of /cvsroot/plog/plog/class/dao In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23847 Modified Files: articles.class.php Log Message: There was a bug in the method that increases the number of time an article has been read. Will I ever get this stupid one right?? Index: articles.class.php =================================================================== RCS file: /cvsroot/plog/plog/class/dao/articles.class.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** articles.class.php 13 Feb 2004 16:16:01 -0000 1.14 --- articles.class.php 20 Feb 2004 16:59:17 -0000 1.15 *************** *** 346,350 **** $query = "UPDATE ".$this->getPrefix()."articles SET ". " num_reads = $numReads ". ! ", date = $articleDate ". " WHERE id = $articleId;"; --- 346,350 ---- $query = "UPDATE ".$this->getPrefix()."articles SET ". " num_reads = $numReads ". ! ", date = '$articleDate' ". " WHERE id = $articleId;"; |