From: Leandro Lucarella Date: Mon, 30 Jun 2003 14:15:36 +0000 (+0000) Subject: Fixed a bug. X-Git-Tag: svn_import~27 X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/commitdiff_plain/abd34826d30f2c9782db30a9a491b978297289f5?hp=16162294e0d7a4d4e7ad799279f59abb67099484 Fixed a bug. --- 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 +?>