[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [18532] Fix the get_channel_id_from_cmd when no sessi
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [18532] Fix the get_channel_id_from_cmd when no session data is there |
Date: |
Wed, 14 May 2008 17:39:43 +0000 |
Revision: 18532
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=18532
Author: Caeies
Date: 2008-05-14 17:39:40 +0000 (Wed, 14 May 2008)
Log Message:
-----------
Fix the get_channel_id_from_cmd when no session data is there
Modified Paths:
--------------
trunk/syncml/inc/class.syncml_session.inc.php
Modified: trunk/syncml/inc/class.syncml_session.inc.php
===================================================================
--- trunk/syncml/inc/class.syncml_session.inc.php 2008-05-14 17:37:36 UTC
(rev 18531)
+++ trunk/syncml/inc/class.syncml_session.inc.php 2008-05-14 17:39:40 UTC
(rev 18532)
@@ -60,6 +60,10 @@
function get_channel_id_from_cmd($cmdid)
{
+ if(!is_array($this->session_data))
+ {
+ return array();
+ }
if(!isset($this->session_data['sent_commands'][$cmdid]))
{
return NULL;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [18532] Fix the get_channel_id_from_cmd when no session data is there,
Caeies <=