[pLog-svn] r2386 - plog/branches/plog-1.0.2/class/dao

pwestbro at devel.plogworld.net pwestbro at devel.plogworld.net
Tue Aug 2 05:37:50 GMT 2005


Author: pwestbro
Date: 2005-08-02 05:37:48 +0000 (Tue, 02 Aug 2005)
New Revision: 2386

Modified:
   plog/branches/plog-1.0.2/class/dao/articles.class.php
Log:
Fixed a problem where updating articles with xmlrpc would not work


Modified: plog/branches/plog-1.0.2/class/dao/articles.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/dao/articles.class.php	2005-08-01 23:08:25 UTC (rev 2385)
+++ plog/branches/plog-1.0.2/class/dao/articles.class.php	2005-08-02 05:37:48 UTC (rev 2386)
@@ -826,7 +826,7 @@
 
             $query = "UPDATE ".$this->getPrefix()."articles SET id = ".$article->getId().
                      ", user_id = ".$article->getUser().
-                     ", date = ".$articleDate.
+                     ", date = '".$articleDate. "'".
                      ", blog_id = ".$article->getBlog().
                      ", status = '".$article->getStatus()."'".
                      ", num_reads = ".$article->getNumReads().




More information about the pLog-svn mailing list