[pLog-svn] r4666 - plog/branches/lifetype-1.2/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Fri Feb 2 04:47:36 EST 2007
Author: oscar
Date: 2007-02-02 04:47:36 -0500 (Fri, 02 Feb 2007)
New Revision: 4666
Modified:
plog/branches/lifetype-1.2/class/dao/articles.class.php
Log:
fixed an error related to escaping texts
Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-02-01 23:38:10 UTC (rev 4665)
+++ plog/branches/lifetype-1.2/class/dao/articles.class.php 2007-02-02 09:47:36 UTC (rev 4666)
@@ -879,8 +879,8 @@
$query = "UPDATE ".$this->getPrefix()."articles_text SET ".
"topic = '".Db::qstr($article->getTopic())."', ".
"text = '".Db::qstr($article->getText(false))."', ".
- "normalized_text = '".$filter->normalizeText( $article->getText(false))."', ".
- "normalized_topic = '".$filter->normalizeText( $article->getTopic())."' ".
+ "normalized_text = '".Db::qstr($filter->normalizeText( $article->getText(false)))."', ".
+ "normalized_topic = '".Db::qstr($filter->normalizeText( $article->getTopic()))."' ".
"WHERE article_id = '".Db::qstr( $article->getId())."'";
$this->_cache->removeData( $article->getId(), CACHE_ARTICLETEXT );
More information about the pLog-svn
mailing list