Commit ea02bd1d authored by webchick's avatar webchick
Browse files

#258089 follow-up by JohnAlbin: Fix missing period on code comment. Trivial...

#258089 follow-up by JohnAlbin: Fix missing period on code comment. Trivial Patch of the Month award! :)
parent 5a2fbd01
......@@ -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.
if ($type == 'theme' || $type == 'base_theme') {
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 (!isset($info['preprocess functions'])) {
$cache[$hook]['preprocess functions'] = array();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment