Author: chabotc
Date: Thu Dec 11 04:05:00 2008
New Revision: 725667
URL: http://svn.apache.org/viewvc?rev=725667&view=rev
Log:
Same fix as for the xml output converter: strict checking on the DOMElement
type fails on the root (DOMDocument) node
Modified:
incubator/shindig/trunk/php/src/social/converters/OutputAtomConverter.php
Modified:
incubator/shindig/trunk/php/src/social/converters/OutputAtomConverter.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social/converters/OutputAtomConverter.php?rev=725667&r1=725666&r2=725667&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/social/converters/OutputAtomConverter.php
(original)
+++ incubator/shindig/trunk/php/src/social/converters/OutputAtomConverter.php
Thu Dec 11 04:05:00 2008
@@ -139,7 +139,7 @@
* @param string $nameSpace optional namespace to use when creating node
* @return DOMElement node
*/
- private function addNode(DOMElement $node, $name, $value = '', $attributes =
false, $nameSpace = false) {
+ private function addNode($node, $name, $value = '', $attributes = false,
$nameSpace = false) {
return OutputBasicXmlConverter::addNode($this->doc, $node, $name, $value,
$attributes, $nameSpace);
}