diff options
| author | rodneyrehm <rodneyrehm@localhost> | 2011-10-05 17:11:01 +0000 |
|---|---|---|
| committer | rodneyrehm <rodneyrehm@localhost> | 2011-10-05 17:11:01 +0000 |
| commit | aeec0783ec7c2419397b3be25018d0df4ea907db (patch) | |
| tree | 648ac3b7e7b8b889ca9cc37fd2e0b7d2f1498b5d /libs/sysplugins/smarty_internal_compile_private_registered_block.php | |
| parent | 8bab7fe5224f737b6ca4e6d3a4eef48209de97c7 (diff) | |
| download | smarty-aeec0783ec7c2419397b3be25018d0df4ea907db.tar.gz smarty-aeec0783ec7c2419397b3be25018d0df4ea907db.tar.bz2 smarty-aeec0783ec7c2419397b3be25018d0df4ea907db.zip | |
- bugfix of problem introduced with r4342 by replacing strlen() with isset()
Diffstat (limited to 'libs/sysplugins/smarty_internal_compile_private_registered_block.php')
| -rw-r--r-- | libs/sysplugins/smarty_internal_compile_private_registered_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sysplugins/smarty_internal_compile_private_registered_block.php b/libs/sysplugins/smarty_internal_compile_private_registered_block.php index f7dd74ba..9fed36c3 100644 --- a/libs/sysplugins/smarty_internal_compile_private_registered_block.php +++ b/libs/sysplugins/smarty_internal_compile_private_registered_block.php @@ -36,7 +36,7 @@ class Smarty_Internal_Compile_Private_Registered_Block extends Smarty_Internal_C */
public function compile($args, $compiler, $parameter, $tag)
{
- if (!isset($tag[6]) || substr($tag,-5) != 'close') {
+ if (!isset($tag[5]) || substr($tag,-5) != 'close') {
// opening tag of block plugin
// check and get attributes
$_attr = $this->getAttributes($compiler, $args);
|
