From f2cc8a90362e445b83669080ce9c3ac914769fd7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 20 May 2007 08:24:47 +0100 Subject: [PATCH] fix call-by-reference in tw error --- tw/tw.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tw/tw.php b/tw/tw.php index c4f813ed..15292760 100644 --- a/tw/tw.php +++ b/tw/tw.php @@ -168,7 +168,7 @@ class twParser function get_errors() { return $this->err->get_by_mask(0x0f00); } function get_internal() { return $this->err->get_by_mask(0xf000); } function get_by_mask($mask) { return $this->err->get_by_mask($mask); } - function get_error_text ( $id, &$lang ) { return $this->err->get_error_text ( $id, &$lang ); } + function get_error_text ( $id, &$lang ) { return $this->err->get_error_text ( $id, $lang ); } // --------------------------------------------------------------------------------- // LOW LEVEL functions @@ -288,4 +288,4 @@ function getword ($state) } } // END class twParser -?> \ No newline at end of file +?> -- 2.39.5