From 75524e8142a4f32f83f48dc2db54659382180bae Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 1 Mar 2006 13:31:07 +0000 Subject: [PATCH] translating xajax requests in utf-8 to the system-charset --- xajax.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/xajax.php b/xajax.php index 69e9e0dfd5..4e706abbe2 100644 --- a/xajax.php +++ b/xajax.php @@ -41,19 +41,10 @@ include('./header.inc.php'); - $sessionid = get_var('sessionid',array('COOKIE','GET')); - $kp3 = get_var('kp3',array('COOKIE','GET')); - - // the session has been created already - // the browser is sending all needed egroupware cookies - if($GLOBALS['phpgw']->session->verify($sessionid,$kp3)) - { + $ajaxClass = CreateObject("$appName.$className"); + $argList = $GLOBALS['egw']->translation->convert($argList, 'utf-8'); + return call_user_func_array(array(&$ajaxClass, $functionName), $argList ); - $ajaxClass = CreateObject("$appName.$className"); - - return call_user_func_array(array(&$ajaxClass, $functionName), $argList ); - - } } $xajax = new xajax($_SERVER["PHP_SELF"]);