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

mark at devel.lifetype.net mark at devel.lifetype.net
Fri May 26 11:46:01 GMT 2006


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" ));



More information about the pLog-svn mailing list