Fix SyncML SourceURI issue

This commit is contained in:
Jörg Lehrke 2010-06-26 11:26:46 +00:00
parent 4e42eb30f0
commit 99cb0d791a
2 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class Horde_SyncML_Command_Put extends Horde_SyncML_Command {
break;
case 'SourceRef':
$this->_sourceReference = trim($this->_chars);
$this->_sourceReference = strtolower(trim($this->_chars));
break;
case 'Tx-Pref':

View File

@ -985,6 +985,7 @@ class Horde_SyncML_State {
function getPreferedContentTypeClient($_sourceLocURI, $_targetLocURI = null) {
$deviceInfo = $this->getClientDeviceInfo();
$_sourceLocURI = strtolower($_sourceLocURI);
if(isset($deviceInfo['dataStore'][$_sourceLocURI]['maxGUIDSize']['contentType'])) {
$this->_maxGUIDSize = $deviceInfo['dataStore'][$this->_sourceURI]['maxGUIDSize']['contentType'];