diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-28 03:11:53 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-28 03:11:53 +0000 |
commit | 65718466fc8f1ace930dd0e56b19b34478657e9e (patch) | |
tree | 76de792fa0547869129a0cd0e92aba195adcd1be /themes/engines/phptemplate | |
parent | 027b3b22060b518c64d138900766fc3a52156a9d (diff) | |
download | brdo-65718466fc8f1ace930dd0e56b19b34478657e9e.tar.gz brdo-65718466fc8f1ace930dd0e56b19b34478657e9e.tar.bz2 |
#84191 by myself and webchick. Properly check for an array element.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 823239633..faa4f320f 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -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']); } |