[Freeswitch-svn] [commit] r12159 - freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl

FreeSWITCH SVN intralanman at freeswitch.org
Wed Feb 18 21:29:33 PST 2009


Author: intralanman
Date: Wed Feb 18 23:29:33 2009
New Revision: 12159

Log:
get rid of a couple of undefined variable warnings in XML generation

Modified:
   freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php

Modified: freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php
==============================================================================
--- freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php	(original)
+++ freeswitch/trunk/scripts/contrib/intralanman/PHP/fs_curl/fs_dialplan.php	Wed Feb 18 23:29:33 2009
@@ -116,11 +116,11 @@
             $ce = $row['condition_expression'];
             //$rcd = $row['re_cdata'];
             $cc = empty($row['cond_break']) ? '0' : $row['cond_break'];
-            $dp_array[$ct]["$et;$ec"]["$cf;$ce;$cc;$rcd"][] = array(
+            $dp_array[$ct]["$et;$ec"]["$cf;$ce;$cc"][] = array(
             'type'=>$type,
             'application'=>$app,
             'data'=>$data,
-            'is_cdata'=>$app_cdata
+            'is_cdata'=>(empty($app_cdata) ? '' : $app_cdata)
             );
         }
         return $dp_array;



More information about the Freeswitch-svn mailing list