1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

XML client/server communication protocol fixes

This commit is contained in:
secretr 2008-11-21 16:28:04 +00:00
parent c3729f0ee2
commit da8d98c3c8

View File

@ -7,8 +7,8 @@
* GNU General Public License (http://gnu.org).
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/js_helper.php,v $
* $Revision: 1.2 $
* $Date: 2008-11-17 17:43:57 $
* $Revision: 1.3 $
* $Date: 2008-11-21 16:28:04 $
* $Author: secretr $
*
*/
@ -76,7 +76,8 @@ class e_jshelper
function buildXMLResponse()
{
$action_array = $this->getResponseActions(true);
$ret = "<e107response>\n";
$ret = '<?xml version="1.0" encoding="'.CHARSET.'" ?>';
$ret .= "\n<e107response>\n";
foreach ($action_array as $action => $field_array)
{
$ret .= "\t<e107action name='{$action}'>\n";