diff options
-rw-r--r-- | it_text.class | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/it_text.class b/it_text.class index 1a4d54f..76e8aed 100644 --- a/it_text.class +++ b/it_text.class @@ -96,6 +96,9 @@ function init() */ function text($label, $raw = null, $language = null) { + if (is_string($raw) && $raw && !$language) + $language = $raw; # migration: $language will be 2nd arg + if ($this->p['debug'] === 'label') return $label; |