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

svn at osgeo.org svn at osgeo.org
Sat Oct 23 12:52:06 EDT 2010


Author: warmerdam
Date: 2010-10-23 09:52:06 -0700 (Sat, 23 Oct 2010)
New Revision: 10649

Modified:
   trunk/mapserver/mapscript/php/mapscript_i.c
Log:
avoid use of MS_MAX_CGI_PARAMS (#3583)

Modified: trunk/mapserver/mapscript/php/mapscript_i.c
===================================================================
--- trunk/mapserver/mapscript/php/mapscript_i.c	2010-10-23 10:27:25 UTC (rev 10648)
+++ trunk/mapserver/mapscript/php/mapscript_i.c	2010-10-23 16:52:06 UTC (rev 10649)
@@ -1451,7 +1451,7 @@
     int i;
         
     if (self->NumParams == MS_DEFAULT_CGI_PARAMS) {
-      msSetError(MS_CHILDERR, "Maximum number of items, %d, has been reached", "setItem()", MS_MAX_CGI_PARAMS);
+      msSetError(MS_CHILDERR, "Maximum number of items, %d, has been reached", "setItem()", MS_DEFAULT_CGI_PARAMS);
     }
         
     for (i=0; i<self->NumParams; i++) {



More information about the mapserver-commits mailing list