[pLog-svn] r5028 - plog/branches/lifetype-1.2/class/dao

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Mar 8 12:21:50 EST 2007


Author: jondaley
Date: 2007-03-08 12:21:50 -0500 (Thu, 08 Mar 2007)
New Revision: 5028

Modified:
   plog/branches/lifetype-1.2/class/dao/articles.class.php
Log:
sql typo

Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articles.class.php	2007-03-08 15:19:36 UTC (rev 5027)
+++ plog/branches/lifetype-1.2/class/dao/articles.class.php	2007-03-08 17:21:50 UTC (rev 5028)
@@ -1128,7 +1128,7 @@
 		 */
 		function deleteArticleText( $articleId )
 		{
-			$query = "DELETE FROM ".$this->getPrefix()."articles_text WHERE article_id = ".Db::qstr( $articleId )."'";
+			$query = "DELETE FROM ".$this->getPrefix()."articles_text WHERE article_id = '".Db::qstr( $articleId )."'";
 			return( $this->Execute( $query ));
 		}
 



More information about the pLog-svn mailing list