aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo/stupid_template_engine.php
diff options
context:
space:
mode:
Diffstat (limited to 'r7r_repo/stupid_template_engine.php')
-rw-r--r--r7r_repo/stupid_template_engine.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}