summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-28 03:11:53 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-28 03:11:53 +0000
commit65718466fc8f1ace930dd0e56b19b34478657e9e (patch)
tree76de792fa0547869129a0cd0e92aba195adcd1be /themes/engines/phptemplate/phptemplate.engine
parent027b3b22060b518c64d138900766fc3a52156a9d (diff)
downloadbrdo-65718466fc8f1ace930dd0e56b19b34478657e9e.tar.gz
brdo-65718466fc8f1ace930dd0e56b19b34478657e9e.tar.bz2
#84191 by myself and webchick. Properly check for an array element.
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine2
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']);
}