[mapguide-commits] r4355 - trunk/MgDev/Web/src/schemareport
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Nov 22 21:32:24 EST 2009
Author: christinebao
Date: 2009-11-22 21:32:24 -0500 (Sun, 22 Nov 2009)
New Revision: 4355
Modified:
trunk/MgDev/Web/src/schemareport/displayschema.php
Log:
Fix ticket https://trac.osgeo.org/mapguide/ticket/1157
"\n" displayed in refresh panel of Feature Source Editor when error happened.
Modified: trunk/MgDev/Web/src/schemareport/displayschema.php
===================================================================
--- trunk/MgDev/Web/src/schemareport/displayschema.php 2009-11-22 07:43:34 UTC (rev 4354)
+++ trunk/MgDev/Web/src/schemareport/displayschema.php 2009-11-23 02:32:24 UTC (rev 4355)
@@ -123,7 +123,9 @@
}
catch (MgException $e)
{
- echo $e->GetMessage();
+ $errorMsg = $e->GetMessage();
+ $errorMsg = str_replace('\n', '<br>', $errorMsg);
+ echo $errorMsg;
}
?>
More information about the mapguide-commits
mailing list