From 0be7711b7c673cb086da798cd080de3d55f75a1f Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Fri, 6 Jan 2012 01:06:48 +0100 Subject: New STE version. --- r7r_repo/stupid_template_engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r7r_repo/stupid_template_engine.php b/r7r_repo/stupid_template_engine.php index 0edb880..106b1be 100644 --- a/r7r_repo/stupid_template_engine.php +++ b/r7r_repo/stupid_template_engine.php @@ -83,7 +83,7 @@ class ParseCompileError extends \Exception public function rewrite($code) { $line = substr_count(str_replace("\r\n", "\n", $code), "\n", 0, $this->off + 1) + 1; - $this->message = "{$this->msg} (Template $tpl, Line $line)"; + $this->message = "{$this->msg} (Template {$this->tpl}, Line $line)"; $this->is_rewritten = True; } } -- cgit v1.2.3-70-g09d2