Commit 65718466 authored by drumm's avatar drumm

#84191 by myself and webchick. Properly check for an array element.

parent 027b3b22
......@@ -63,7 +63,7 @@ function _phptemplate_callback($hook, $variables = array(), $suggestions = array
$variables = array_merge($variables, call_user_func($variables_function, $hook, $variables));
}
if (is_array($variables['template_files'])) {
if (isset($variables['template_files'])) {
$suggestions = array_merge($suggestions, $variables['template_files']);
}
......
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