Index: branches/RC/core/kernel/application.php =================================================================== diff -u -N -r11501 -r11504 --- branches/RC/core/kernel/application.php (.../application.php) (revision 11501) +++ branches/RC/core/kernel/application.php (.../application.php) (revision 11504) @@ -668,12 +668,12 @@ } // this allows to save 2 sql queries for each category - $sql = 'SELECT NamedParentPath, CachedCategoryTemplate, TreeLeft, TreeRight + $sql = 'SELECT NamedParentPath, CachedTemplate, TreeLeft, TreeRight FROM '.$table.' WHERE '.$id_field.' = '.$this->Conn->qstr($id); $category_data = $this->Conn->GetRow($sql); $filename = $category_data['NamedParentPath']; - $this->setCache('category_templates', $id, $category_data['CachedCategoryTemplate']); + $this->setCache('category_templates', $id, $category_data['CachedTemplate']); $this->setCache('category_tree', $id, $category_data['TreeLeft'] . ';' . $category_data['TreeRight']); // $this->setCache('item_templates', $id, $category_data['CachedItemTemplate']);