public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Search Repo:
Fixed bug with html blocks not reindexing properly


git-svn-id: http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk@4794 
3d254a34-79dc-0310-9e5f-be208747d8a0
tedkulp (author)
Mon Jun 30 18:44:59 -0700 2008
commit  e34223b6addd2ea537224ce7a5ce8213fd5b8cbb
tree    02aea6be6db63660a9bd2d5ecad0926ed4779006
parent  b1eaa8809efe0f7a4650c1b7f96c784c6cd4a995
...
223
224
225
226
 
227
228
229
...
223
224
225
 
226
227
228
229
0
@@ -223,7 +223,7 @@ class CmsContentBase extends CmsObjectRelationalMapping
0
   function get_property_value($name, $lang = 'en_US')
0
   {
0
     $default_lang = CmsMultiLanguage::get_default_language();
0
-
0
+
0
     //See if it exists...
0
     if ($this->has_property($name))
0
     {  
...
45
46
47
48
 
49
50
51
...
64
65
66
67
 
68
69
70
...
45
46
47
 
48
49
50
51
...
64
65
66
 
67
68
69
70
0
@@ -45,7 +45,7 @@ class Content extends CmsContentBase
0
     $content = '';
0
     $blocks = CmsTemplateOperations::parse_content_blocks_from_template($this->template);
0
     
0
- foreach ($blocks as $block)
0
+ foreach ($blocks as $block_name=>$block)
0
     {
0
       $type = 'html';
0
       if ($this->has_property($block_name . '-block-type'))
0
@@ -64,7 +64,7 @@ class Content extends CmsContentBase
0
       {
0
         $class_name = camelize('block_' . $type);
0
         $class = new $class_name;
0
- $content .= $class->get_index_content($this, $block_name, $lang);
0
+ $content .= $class->get_index_content($this, $block_name, '');
0
       }
0
       catch (Exception $e)
0
       {

Comments

    No one has commented yet.