← Back to team overview

anewt-developers team mailing list archive

[Branch ~uws/anewt/anewt.uws] Rev 1744: [xml/dom] Remove reference operator

 

------------------------------------------------------------
revno: 1744
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Wed 2010-01-06 21:56:33 +0100
message:
  [xml/dom] Remove reference operator
modified:
  xml/dom.lib.php


--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws

Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.
=== modified file 'xml/dom.lib.php'
--- xml/dom.lib.php	2010-01-06 20:30:14 +0000
+++ xml/dom.lib.php	2010-01-06 20:56:33 +0000
@@ -224,7 +224,7 @@
 			 * child (if any). */
 			if ($new_child->child_nodes)
 			{
-				$out = &$new_child->child_nodes[0];
+				$out = $new_child->child_nodes[0];
 				foreach (array_keys($new_child->child_nodes) as $k)
 				{
 					unset($new_child->child_nodes[$k]->parent_node);