Fix #122. Compatibility problem with mb_string

This commit is contained in:
bzick 2014-11-06 00:55:32 +03:00
parent ab52186dfa
commit f532658cc4
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class Template extends Render
$this->_src = call_user_func($filter, $this, $this->_src);
}
while (($start = strpos($this->_src, '{', $pos)) !== false) { // search open-symbol of tags
switch ($this->_src[$start + 1]) { // check next character
switch (substr($this->_src, $start + 1, 1)) { // check next character
case "\n":
case "\r":
case "\t":