summaryrefslogtreecommitdiff
path: root/it_text.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_text.class')
-rw-r--r--it_text.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class
index 42753a8..69b2e0e 100644
--- a/it_text.class
+++ b/it_text.class
@@ -38,7 +38,7 @@ class it_text
* @param $p['phpfiles'] text files to load in addition to $p['phpfile'] (Note: $p['phpfile'] defaults to all texts.php files in include path)
* @param $p['transmogrifiers'] comma separated functions that may be called by using {foo:bar} (foo will be called with bar as argument) in T()
*/
-function it_text($p = array())
+function __construct($p = array())
{
if (!$p['phpfile'])
{