[mapguide-commits] r1362 - trunk/MgDev/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Mar 23 18:33:54 EDT 2007


Author: trevorwekel
Date: 2007-03-23 18:33:54 -0400 (Fri, 23 Mar 2007)
New Revision: 1362

Modified:
   trunk/MgDev/Web/src/schemareport/displayschema.php
Log:
Fix for DescribeSchema UI due to PHP 5.2.1 upgrade

Modified: trunk/MgDev/Web/src/schemareport/displayschema.php
===================================================================
--- trunk/MgDev/Web/src/schemareport/displayschema.php	2007-03-23 22:13:10 UTC (rev 1361)
+++ trunk/MgDev/Web/src/schemareport/displayschema.php	2007-03-23 22:33:54 UTC (rev 1362)
@@ -26,9 +26,9 @@
 	    <title>Displays the schema</title>
 	    <link href="displayschema.css" rel="stylesheet" type="text/css">
 	</head>
-	
+
 	<body>
-	
+
 		<?php
 		    include '../mapadmin/Constants.php';
 
@@ -59,7 +59,7 @@
 
 				// Create new object for the XML file
 				$xml_object = new DomDocument();
-				if(!file_exists($xml))
+				if(!$xml)
 					exit('Cannot open $xml_file');
 				$xml_object->loadXML($xml);
 



More information about the mapguide-commits mailing list