[pLog-svn] r4644 - plog/branches/lifetype-1.2/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Feb 1 06:30:42 EST 2007
Author: oscar
Date: 2007-02-01 06:30:42 -0500 (Thu, 01 Feb 2007)
New Revision: 4644
Modified:
plog/branches/lifetype-1.2/class/dao/articles.class.php
Log:
fixed one small issue with a query
Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-02-01 11:20:02 UTC (rev 4643)
+++ plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-02-01 11:30:42 UTC (rev 4644)
@@ -1013,7 +1013,7 @@
$query = "UPDATE ".$this->getPrefix()."articles SET ".
" num_reads = num_reads+1, date = date".
- " WHERE article_id = '".Db::qstr( $articleId )."'";
+ " WHERE id = '".Db::qstr( $articleId )."'";
$result = $this->Execute( $query );
More information about the pLog-svn
mailing list