Hi,

recently I ran into the same problem. Just set some default value in case of 
$errors is null, e.g. like:

{use $blocos, $errors = ''}

HTH

Thomas

Am Donnerstag, 4. März 2010 18:14:07 schrieb José Moreira:
> im trying to send a variable to a template
>
> $t->send->errors = $errors;
>
> and i have a use on the template for it
>
> {use $blocos, $errors}
>
> but im getting a
>
> "Fatal error: Uncaught exception 'ezcTemplateRuntimeException' with
> message 'The external (use) variable 'errors' is not set in template:"
>
> The rest of the variables are doing fine.
>
> --
> josemore...@irc.freenode.net
> http://beta.icodedhere.com
> http://pt.linkedin.com/in/josemoreira
> http://djangopeople.net/josemoreira
> http://www.crunchbase.com/user/josemoreira



-- 
Thomas Nunninger
Steinhalde 108
79117 Freiburg

Tel.:  +49 761 1201850
Mobil: +49 163 7115153
http://nunninger.info

USt-IdNr: DE259832548
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to