[Mapbender-commits] r6958 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 29 08:41:08 EDT 2010


Author: christoph
Date: 2010-09-29 12:41:08 +0000 (Wed, 29 Sep 2010)
New Revision: 6958

Modified:
   trunk/mapbender/lib/ajax.php
Log:
avoid PHP warning

Modified: trunk/mapbender/lib/ajax.php
===================================================================
--- trunk/mapbender/lib/ajax.php	2010-09-29 11:31:10 UTC (rev 6957)
+++ trunk/mapbender/lib/ajax.php	2010-09-29 12:41:08 UTC (rev 6958)
@@ -160,7 +160,7 @@
 	 * 
 	 * @param $trueOrFalse Boolean
 	 */
-	public function setSuccess ($trueOrFalse, $code) {
+	public function setSuccess ($trueOrFalse, $code = null) {
 		$this->success = $trueOrFalse;
 		
 		if (!$this->success && is_numeric($code)) {



More information about the Mapbender_commits mailing list