fix call-by-reference in tw error

This commit is contained in:
Andrew Dolgov 2007-05-20 08:24:47 +01:00
parent 7704a6eefd
commit f2cc8a9036
1 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ class twParser
function get_errors() { return $this->err->get_by_mask(0x0f00); } function get_errors() { return $this->err->get_by_mask(0x0f00); }
function get_internal() { return $this->err->get_by_mask(0xf000); } function get_internal() { return $this->err->get_by_mask(0xf000); }
function get_by_mask($mask) { return $this->err->get_by_mask($mask); } 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 // LOW LEVEL functions
@ -288,4 +288,4 @@ function getword ($state)
} }
} // END class twParser } // END class twParser
?> ?>