[mapserver-commits] r10304 - trunk/mapserver/mapscript/php

svn at osgeo.org svn at osgeo.org
Thu Jul 8 11:07:36 EDT 2010


Author: aboudreault
Date: 2010-07-08 15:07:36 +0000 (Thu, 08 Jul 2010)
New Revision: 10304

Modified:
   trunk/mapserver/mapscript/php/layer.c
Log:
php/mapscript: return a class with no parent in the layer->removeClass function

Modified: trunk/mapserver/mapscript/php/layer.c
===================================================================
--- trunk/mapserver/mapscript/php/layer.c	2010-07-08 14:47:45 UTC (rev 10303)
+++ trunk/mapserver/mapscript/php/layer.c	2010-07-08 15:07:36 UTC (rev 10304)
@@ -1642,7 +1642,7 @@
     }
 
     /* Return a copy of the class object just removed */
-    MAPSCRIPT_MAKE_PARENT(zobj, NULL);
+    MAPSCRIPT_MAKE_PARENT(NULL, NULL);
     mapscript_create_class(class, parent, return_value TSRMLS_CC);
 }
 /* }}} */



More information about the mapserver-commits mailing list