summaryrefslogtreecommitdiff
path: root/text.class
diff options
context:
space:
mode:
authorUrban Müller2007-07-23 11:52:02 +0000
committerUrban Müller2007-07-23 11:52:02 +0000
commite604ad4231a127ae417dc7bfcf300af3ca69a016 (patch)
treef876faa93de047bf22121ea8ac0d82c100d6645d /text.class
parent4dd2ce87fa30735e2654689d915740bc23a0dc49 (diff)
downloaditools-e604ad4231a127ae417dc7bfcf300af3ca69a016.tar.gz
itools-e604ad4231a127ae417dc7bfcf300af3ca69a016.tar.bz2
itools-e604ad4231a127ae417dc7bfcf300af3ca69a016.zip
eliminated internal_error()
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));
}