[Tickets #9277] Missing return parameter in Nokia.php

bugs at horde.org bugs at horde.org
Thu Sep 30 18:34:26 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9277
------------------------------------------------------------------------------
  Ticket             | 9277
  Created By         | fabio.bas at officineinformatiche.net
  Summary            | Missing return parameter in Nokia.php
  Queue              | Horde Base
  Version            | 3.3.9
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


fabio.bas at officineinformatiche.net (2010-09-30 14:34) wrote:

In lib/SyncML/Device/Nokia.php, from  function convertServer2Client:
---
return array($content, $contentType);
---
This function overloads the parent function in lib/SyncML/Device.php,  
that returns a 3-values array:
---
return array($content, $contentType, null);
---
This causes a php notice:
---
PHP Notice:  Undefined offset:  2
---
The function itself is called in lib/SyncML/Sync.php, in function  
"createSyncOutput"
---
                 list($clientContent, $clientContentType,  
$clientEncodingType) =
                     $device->convertServer2Client($c, $contentType, $syncDB);
---






More information about the bugs mailing list