summaryrefslogtreecommitdiff
path: root/text.class
diff options
context:
space:
mode:
Diffstat (limited to 'text.class')
-rw-r--r--text.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.class b/text.class
index d96fb74..cccd64c 100644
--- a/text.class
+++ b/text.class
@@ -262,13 +262,13 @@ function transmogrify($text, $values = null)
/**
- * when running it_text in debug mode, you can use this to die (internal_error)
+ * when running it_text in debug mode, you can use this to die
* in case there were unknown labels with a list of all unknown labels
*/
function checkout_unknown_labels()
{
if ($this->unknown_labels)
- internal_error('No text found for labels: ' . implode(',', $this->unknown_labels));
+ it::fatal('No text found for labels: ' . implode(',', $this->unknown_labels));
}