The same template is used to list documents in project creation overview
page (when project and documents are yet to be created), so at this point
documents do not have statuses yet.


2014-03-14 11:56 GMT+02:00 Guillaume Illien <notifications@github.com>:

> In textmaster/views/templates/admin/project/documents.tpl:
>
> > @@ -17,7 +17,7 @@
> >  * International Registered Trademark & Property of TextMaster
> >  *}
> >  {foreach from=$documents item=document name=doc}
> > -    {if $document.status == 'completed'}
> > +    {if isset($document.status) && $document.status == 'completed'}
>
> Why do you need to check that? Did you get documents without status?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/gillien/PrestaShop-modules/pull/4/files#r10601502>
> .
>