[pLog-svn] r3463 - plog/trunk/class/action/admin

Jon Daley plogworld at jon.limedaley.com
Fri May 26 12:16:12 GMT 2006


 	I think this was the wrong comment?  Or at least not all of the 
files?  I don't know what this change is - the $this->_blogInfo isn't 
correct, so you need to get it again?

On Fri, 26 May 2006, mark at devel.lifetype.net wrote:

> Author: mark
> Date: 2006-05-26 11:46:00 +0000 (Fri, 26 May 2006)
> New Revision: 3463
>
> Modified:
>   plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
> Log:
> Fixed the bug http://bugs.lifetype.net/view.php?id=901
>
> The periods shouldn't exist in permalinks.
>
> Modified: plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
> ===================================================================
> --- plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2006-05-25 17:28:59 UTC (rev 3462)
> +++ plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2006-05-26 11:46:00 UTC (rev 3463)
> @@ -58,7 +58,9 @@
>         {
>         	// fetch the settings from the db and update them accordingly
>             $blogs = new Blogs();
> -            $blogSettings = $this->_blogInfo->getSettings();
> +            // $blogSettings = $this->_blogInfo->getSettings();
> +            $blogInfo = $blogs->getBlogInfo( $this->_blogInfo->getId() );
> +            $blogSettings = $blogInfo->getSettings();
>             $blogSettings->setValue( "locale", $this->_request->getValue( "blogLocale" ));
>             $blogSettings->setValue( "show_posts_max", $this->_request->getValue( "blogMaxMainPageItems" ));
>             $blogSettings->setValue( "recent_posts_max", $this->_request->getValue( "blogMaxRecentItems" ));
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

**************************************
Jon Daley
http://jon.limedaley.com/

MS-DOS: Just say "no"
-- David Yolt


More information about the pLog-svn mailing list