Dotclear


Ignore:
Timestamp:
02/15/13 08:35:19 (12 years ago)
Author:
Dsls <dsls@…>
Branch:
twig
Children:
1106:a4487f3ca4b4, 1147:2e5cb79e4782
Message:

Twig 1.12.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/libs/twig/TokenStream.php

    r991 r1101  
    5959    { 
    6060        if (!isset($this->tokens[++$this->current])) { 
    61             throw new Twig_Error_Syntax('Unexpected end of template', $this->token[$this->current - 1]->getLine(), $this->filename); 
     61            throw new Twig_Error_Syntax('Unexpected end of template', $this->tokens[$this->current - 1]->getLine(), $this->filename); 
    6262        } 
    6363 
     
    9898    { 
    9999        if (!isset($this->tokens[$this->current + $number])) { 
    100             throw new Twig_Error_Syntax('Unexpected end of template', $this->token[$this->current + $number - 1]->getLine(), $this->filename); 
     100            throw new Twig_Error_Syntax('Unexpected end of template', $this->tokens[$this->current + $number - 1]->getLine(), $this->filename); 
    101101        } 
    102102 
Note: See TracChangeset for help on using the changeset viewer.

Sites map