6.0.0-beta13
4/10/26

[#9277] Missing return parameter in Nokia.php
Summary Missing return parameter in Nokia.php
Queue Horde Base
Queue Version 3.3.9
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester fabio.bas (at) officineinformatiche (dot) net
Created 9/30/10 (5671 days ago)
Due
Updated 10/5/10 (5666 days ago)
Assigned 10/5/10 (5666 days ago)
Resolved 10/5/10 (5666 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
05.10.2010 21:24:47 Michael Rubinsky State ⇒ Resolved
 
05.10.2010 21:22:14 CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Fix return data structure
Bug: 9277
Submitted by: fabio (dot) bas (at) officineinformatiche (dot) net
http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Device/Nokia.php?rt=horder1=1.2.2.12r2=1.2.2.13ty=u
05.10.2010 15:52:09 Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Assigned
 
30.09.2010 18:34:26 fabio (dot) bas (at) officineinformatiche (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Missing return parameter in Nokia.php
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
Reply to this comment
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);
---

Saved Queries