Modified: freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_directory.php (15193 => 15194)
--- freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_directory.php 2009-10-22 14:54:29 UTC (rev 15193)
+++ freeswitch/trunk/contrib/intralanman/PHP/fs_curl/fs_directory.php 2009-10-22 15:02:10 UTC (rev 15194)
@@ -308,7 +308,7 @@
$param_count = count($res);
$this -> xmlw -> startElement('params');
for ($i=0; $i<$param_count; $i++) {
- if (empty($res[$i['var_name']])) {
+ if (empty($res[$i]['param_name'])) {
continue;
}
$this -> xmlw -> startElement('param');
@@ -340,7 +340,7 @@
$param_count = count($res);
$this -> xmlw -> startElement('variables');
for ($i=0; $i<$param_count; $i++) {
- if (empty($res[$i['var_name']])) {
+ if (empty($res[$i]['var_name'])) {
continue;
}
$this -> xmlw -> startElement('variable');