From b7c6a9394b33b534e6b6ee7715fe22b926ad84bc Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 23 Jun 2003 11:21:22 +0000 Subject: [PATCH] fixed warning --- libs/core/core.assemble_plugin_filepath.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/core/core.assemble_plugin_filepath.php b/libs/core/core.assemble_plugin_filepath.php index f9fae398..639c1c3e 100644 --- a/libs/core/core.assemble_plugin_filepath.php +++ b/libs/core/core.assemble_plugin_filepath.php @@ -16,7 +16,8 @@ function smarty_core_assemble_plugin_filepath($params, &$smarty) { $_plugin_filename = $params['type'] . '.' . $params['name'] . '.php'; - + $_return = false; + foreach ((array)$smarty->plugins_dir as $_plugin_dir) { $_plugin_filepath = $_plugin_dir . DIRECTORY_SEPARATOR . $_plugin_filename;