minor fix

This commit is contained in:
tomas 2005-08-15 13:36:36 +00:00
parent 8df59d9f3e
commit ac6df9f1e4

View file

@ -23,7 +23,7 @@
Author : $Author: tomas $ Author : $Author: tomas $
Version : $Revision: 1.12 $ Version : $Revision: 1.13 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xr_cli_test.php,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xr_cli_test.php,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -192,7 +192,7 @@ default:
$parr = $pars[0]; $parr = $pars[0];
#echo "pinfo not null and not array.\n"; exit; #echo "pinfo not null and not array.\n"; exit;
}elseif(count($pinfo) == 0){ }elseif(count($pinfo) == 0){
$parr = array(); $parr = (object)array();
}else{ }else{
$parr = array(); $i=0; $parr = array(); $i=0;
foreach($pinfo as $it){ foreach($pinfo as $it){