Fix bug identified by PHP5.

This commit is contained in:
Andrew McMillan 2007-03-08 11:02:02 +13:00
parent 7ec3ae5d93
commit 51b45e71c8

View File

@ -198,7 +198,7 @@ if ( count($failure) > 0 ) {
array_unshift( $failure, new XMLElement('href', $c->protocol_server_port_script . $request->path ) );
$failure[] = new XMLElement('responsedescription', translate("Some properties were not able to be changed.") );
$multistatus = new XMLElement( "multistatus", new XMLElement( 'response', array_merge( $href, $failure, $desc ) ), array('xmlns'=>'DAV:') );
$multistatus = new XMLElement( "multistatus", new XMLElement( 'response', $failure ), array('xmlns'=>'DAV:') );
$request->DoResponse( 207, $multistatus->Render(0,'<?xml version="1.0" encoding="utf-8" ?>'), 'text/xml; charset="utf-8"' );
}