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

Jon Daley plogworld at jon.limedaley.com
Thu Feb 26 14:15:04 EST 2009


 	I must not need that fix due to a plugin I have installed or 
something.  Thanks.

On Thu, 26 Feb 2009, pwestbro at devel.lifetype.net wrote:

> Author: pwestbro
> Date: 2009-02-26 14:06:38 -0500 (Thu, 26 Feb 2009)
> New Revision: 6842
>
> Modified:
>   plog/branches/lifetype-1.2/class/dao/articles.class.php
> Log:
> Fixed a bug where deleting a comment would result in a blank page
>
>
> Modified: plog/branches/lifetype-1.2/class/dao/articles.class.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/dao/articles.class.php	2009-02-25 20:32:39 UTC (rev 6841)
> +++ plog/branches/lifetype-1.2/class/dao/articles.class.php	2009-02-26 19:06:38 UTC (rev 6842)
> @@ -804,8 +804,10 @@
>                 }
>                 $newArticle->setPostSlug($slug);
>             }
> -
> -                // check whether the categories are valid for this blog
> +
> +	    lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
> +
> +	    // check whether the categories are valid for this blog
>             $newCategoryIds = $newArticle->getCategoryIds();
>             $blogCategories = new ArticleCategories();
>             foreach($newCategoryIds as $catId){
> @@ -975,6 +977,8 @@
>
>                 // check whether the categories are valid for this blog
>             if($article->getStatus() != POST_STATUS_DELETED){
> +        	lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
> +
>                 $newCategoryIds = $article->getCategoryIds();
>                 $blogCategories = new ArticleCategories();
>                 foreach($newCategoryIds as $catId){
> @@ -1217,7 +1221,7 @@
> 		 */
>         function mapRow( $query_result )
>         {
> -        	lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
> +	    lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
>             lt_include( PLOG_CLASS_PATH.'class/data/timestamp.class.php' );
>             lt_include( PLOG_CLASS_PATH.'class/dao/users.class.php' );
>             lt_include( PLOG_CLASS_PATH.'class/dao/blogs.class.php' );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com
~~
He who hesitates is not only lost, but
several miles from the next freeway exit.
-- Nowlan's Theory


More information about the pLog-svn mailing list