#258089 follow-up by JohnAlbin: Fix missing period on code comment. Trivial Patch of the Month award! :)

merge-requests/26/head
Angie Byron 2008-11-10 15:40:03 +00:00
parent 5a2fbd01ba
commit ea02bd1d2e
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ function _theme_process_registry(&$cache, $name, $type, $theme, $path) {
// Let themes have preprocess functions even if they didn't register a template. // Let themes have preprocess functions even if they didn't register a template.
if ($type == 'theme' || $type == 'base_theme') { if ($type == 'theme' || $type == 'base_theme') {
foreach ($cache as $hook => $info) { foreach ($cache as $hook => $info) {
// Check only if it's a template and not registered by the theme or engine // Check only if it's a template and not registered by the theme or engine.
if (!empty($info['template']) && empty($result[$hook])) { if (!empty($info['template']) && empty($result[$hook])) {
if (!isset($info['preprocess functions'])) { if (!isset($info['preprocess functions'])) {
$cache[$hook]['preprocess functions'] = array(); $cache[$hook]['preprocess functions'] = array();