[pLog-svn] r2997 - plog/trunk/class/xml/tree
    oscar at devel.lifetype.net 
    oscar at devel.lifetype.net
       
    Wed Mar  1 23:23:48 GMT 2006
    
    
  
Author: oscar
Date: 2006-03-01 23:23:48 +0000 (Wed, 01 Mar 2006)
New Revision: 2997
Modified:
   plog/trunk/class/xml/tree/Node.php
   plog/trunk/class/xml/tree/Tree.php
Log:
removed some warnings and notices
Modified: plog/trunk/class/xml/tree/Node.php
===================================================================
--- plog/trunk/class/xml/tree/Node.php	2006-03-01 23:23:24 UTC (rev 2996)
+++ plog/trunk/class/xml/tree/Node.php	2006-03-01 23:23:48 UTC (rev 2997)
@@ -21,8 +21,8 @@
 // $Id: Node.php,v 1.22 2004/05/26 15:03:25 davey Exp $
 //
 
-/**
- * \ingroup XML
+/**
+ * \ingroup XML
  *
  * PEAR::XML_Tree_Node
  *
@@ -521,7 +521,9 @@
         // No node with that name found
         //_debug("Bad path to node: [".implode('/', $path)."]");
 		
-		return false;
+		// the line below is here to avoid a warning message...
+		$x = false;
+		return $x;
     }
 
     /**
Modified: plog/trunk/class/xml/tree/Tree.php
===================================================================
--- plog/trunk/class/xml/tree/Tree.php	2006-03-01 23:23:24 UTC (rev 2996)
+++ plog/trunk/class/xml/tree/Tree.php	2006-03-01 23:23:48 UTC (rev 2997)
@@ -25,8 +25,8 @@
 require_once PLOG_CLASS_PATH."class/xml/parser/Parser.php";
 require_once PLOG_CLASS_PATH."class/xml/tree/Node.php";
 
-/**
- * \ingroup XML
+/**
+ * \ingroup XML
  *
  * PEAR::XML_Tree
  *
@@ -483,7 +483,8 @@
         }
         // No node with that name found
         //_debug("Bad path '$path' to node 2: [".implode('/', $path)."]");
-		return false;
+		$x = false;
+		return $x;
     }
 
     /**
    
    
More information about the pLog-svn
mailing list