forked from extern/egroupware
// fix for Nokia Series 60 which seem to send empty data block sometimes
This commit is contained in:
parent
117fd9d31b
commit
072b6966d2
@ -133,6 +133,11 @@ class XML_WBXML_Decoder extends XML_WBXML_ContentHandler {
|
|||||||
*/
|
*/
|
||||||
function decode($wbxml)
|
function decode($wbxml)
|
||||||
{
|
{
|
||||||
|
// fix for Nokia Series 60 which seem to send empty data block sometimes
|
||||||
|
if(strlen($wbxml) == 0) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
$this->_error = false; // reset state
|
$this->_error = false; // reset state
|
||||||
$this->_strpos = 0;
|
$this->_strpos = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user