Re: [phplib] problem with templates From: toby cabot (toby <email protected>)
Date: 06/24/00

Sven Rottenbiller wrote:
>
> Hy Brett,
>
> in the file template.inc is a little error. You have to change a line in
> the function loadfile:
>
> befor:
>
> function loadfile($handle) {
<snip>
> $filename = $this->filename($this->file[$handle]); <<<---
> error here
>
> after:
>
> $filename = $this->file[$handle];
> <<<--- now it's better
>

Also a few lines later:

       while(list($h, $f) = each($handle)) {
- $this->file[$h] = $this->filename($f);
+ $this->file[$h] = $this->$f;
       }

Cheers,
Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>