Index: branches/5.2.x/core/units/helpers/themes_helper.php =================================================================== diff -u -N -r14843 -r15012 --- branches/5.2.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 14843) +++ branches/5.2.x/core/units/helpers/themes_helper.php (.../themes_helper.php) (revision 15012) @@ -1,6 +1,6 @@ Conn->GetCol($sql, 'ThemeId'); if (!$themes) { @@ -323,12 +323,12 @@ 'TemplateAliases' => serialize( $this->getTemplateAliases($theme_id, $theme_path) ), ); - $this->Conn->doUpdate($fields_hash, TABLE_PREFIX . 'Theme', 'ThemeId = ' . $theme_id); + $this->Conn->doUpdate($fields_hash, TABLE_PREFIX . 'Themes', 'ThemeId = ' . $theme_id); } } /** - * Searches for new templates (missing in db) in spefied folder + * Searches for new templates (missing in db) in specified folder * * @param string $folder_path subfolder of searchable theme * @param string $theme_path theme path from web server root