From abd34826d30f2c9782db30a9a491b978297289f5 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 30 Jun 2003 14:15:36 +0000 Subject: [PATCH 1/1] Fixed a bug. --- bife/BIFE/Translate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bife/BIFE/Translate.php b/bife/BIFE/Translate.php index 98dc263..83cd535 100644 --- a/bife/BIFE/Translate.php +++ b/bife/BIFE/Translate.php @@ -50,9 +50,9 @@ class BIFE_Translate extends BIFE_Fallback { */ function render(&$template) // ~X2C { - $this->attrs['CONTENTS'] = $this->renderContents($template); $name = "bife_{$this->name}"; if ($template->exists($name, '')) { + $this->attrs['CONTENTS'] = $this->renderContents($template); $out = $template->parse($name, $this->attrs, '', ''); } else { $name = $this->name; @@ -73,4 +73,4 @@ class BIFE_Translate extends BIFE_Fallback { } // -X2C Class :Translate -?> \ No newline at end of file +?> -- 2.43.0