mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Fix xmlrpc critical bugs
This commit is contained in:
parent
c7aacc344f
commit
fe9cae6737
@ -132,7 +132,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
if ($functionparams != '_UNDEF_' && ($functionparams || $functionparams != 'True'))
|
||||
if ((is_array($functionparams) || $functionparams != '_UNDEF_') && ($functionparams || $functionparams != 'True'))
|
||||
{
|
||||
return $GLOBALS[$classname]->$functionname($functionparams);
|
||||
}
|
||||
|
@ -689,7 +689,7 @@
|
||||
|
||||
if($server_name)
|
||||
{
|
||||
list($sessionid,$kp3) = $GLOBALS['phpgw']->session->create_server($username.'@'.$server_name,$password);
|
||||
list($sessionid,$kp3) = $GLOBALS['phpgw']->session->create_server($username.'@'.$server_name,$password,"text");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -701,7 +701,7 @@
|
||||
{
|
||||
$user = $username;
|
||||
}
|
||||
$sessionid = $GLOBALS['phpgw']->session->create($user,$password);
|
||||
$sessionid = $GLOBALS['phpgw']->session->create($user,$password,"text");
|
||||
$kp3 = $GLOBALS['phpgw']->session->kp3;
|
||||
$domain = $GLOBALS['phpgw']->session->account_domain;
|
||||
}
|
||||
|
@ -334,7 +334,7 @@
|
||||
'ix' => array(),
|
||||
'uc' => array()
|
||||
),
|
||||
'phpgw_history_log', array(
|
||||
'phpgw_history_log' => array(
|
||||
'fd' => array(
|
||||
'history_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
|
||||
'history_record_id' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
|
||||
|
@ -2139,7 +2139,7 @@
|
||||
function phpgwapi_upgrade0_9_13_013()
|
||||
{
|
||||
$GLOBALS['phpgw_setup']->oProc->CreateTable(
|
||||
'phpgw_history_log', array(
|
||||
'phpgw_history_log' => array(
|
||||
'fd' => array(
|
||||
'history_id' => array('type' => 'auto', 'precision' => 4, 'nullable' => False),
|
||||
'history_record_id' => array('type' => 'int', 'precision' => 4, 'nullable' => False),
|
||||
|
Loading…
Reference in New Issue
Block a user