[pLog-svn] r7205 - plog/branches/lifetype-1.2/class/action/admin

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Apr 25 06:59:05 EDT 2013


Author: jondaley
Date: 2013-04-25 06:59:05 -0400 (Thu, 25 Apr 2013)
New Revision: 7205

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php
Log:
the fix in -r6973 has a unset variable issue when saving a settings page other than the URL page

Modified: plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php	2013-04-25 10:53:55 UTC (rev 7204)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdateglobalsettingsaction.class.php	2013-04-25 10:59:05 UTC (rev 7205)
@@ -81,8 +81,11 @@
                 "resource_link_format",
                 "page_suffix_format");
 
-            if(!$this->_newConfigOpts["blog_link_format"] || $this->_newConfigOpts["blog_link_format"] == "/")
+            if(empty($this->_newConfigOpts["blog_link_format"]) ||
+               $this->_newConfigOpts["blog_link_format"] == "/")
+            {
                 $this->_newConfigOpts["blog_link_format"] = "/$";
+            }
 
             foreach($customUrlFormats as $format){
                 if(isset($this->_newConfigOpts[$format])){



More information about the pLog-svn mailing list