diff options
-rw-r--r-- | auto_prepend.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index 09092ca..e9e6990 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -94,12 +94,11 @@ function ET($label, $values = null, $language = null) /** * Change language * @param $language New language to set - * @param $setcookie Optional flag if a cookie is to be set (default: true) */ -function T_set_language($language, $setcookie = true) +function T_set_language($language) { it_text::init(); - return $GLOBALS['it_text']->set_language($language, $setcookie); + return $GLOBALS['it_text']->set_language($language); } /** |