REQUEST_URI can contain also some get paramters

This commit is contained in:
Lars Kneschke 2007-02-05 16:01:29 +00:00
parent c6e057d98f
commit c58a299113
2 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ class accounts_backend
// do that group is a groupOfNames?
if (is_null($groupOfNames)) $groupOfNames = $this->id2name($gid,'groupOfNames');
$to_write = array();
$to_write = array('memberuid' => array());
foreach((array)$members as $key => $member)
{
if (is_numeric($member)) $member = $this->id2name($member);

View File

@ -1331,7 +1331,7 @@
# when synchronizing using syncml, we already have php4 based session started
# and we are currently not allowed to change the sessionid later
# to solve this problem, we simply return the current session_id
if(basename($_SERVER["REQUEST_URI"]) == 'rpc.php' && session_id() != '') {
if(basename($_SERVER['SCRIPT_FILENAME']) == 'rpc.php' && session_id() != '') {
return session_id();
}