http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84476

Revision: 84476
Author:   jeroendedauw
Date:     2011-03-21 19:38:17 +0000 (Mon, 21 Mar 2011)
Log Message:
-----------
fix

Modified Paths:
--------------
    branches/SemanticMaps0.7.x/SemanticMaps.php
    branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php

Modified: branches/SemanticMaps0.7.x/SemanticMaps.php
===================================================================
--- branches/SemanticMaps0.7.x/SemanticMaps.php 2011-03-21 19:12:41 UTC (rev 
84475)
+++ branches/SemanticMaps0.7.x/SemanticMaps.php 2011-03-21 19:38:17 UTC (rev 
84476)
@@ -36,7 +36,7 @@
        die( '<b>Error:</b> You need to have <a 
href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki";>Semantic 
MediaWiki</a> installed in order to use <a 
href="http://www.mediawiki.org/wiki/Extension:Semantic Maps">Semantic 
Maps</a>.<br />' );
 }
 
-define( 'SM_VERSION', '0.7.6' );
+define( 'SM_VERSION', '0.7.6.1' );
 
 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 
'other'][] = array(
        'path' => __FILE__,

Modified: branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php
===================================================================
--- branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php     
2011-03-21 19:12:41 UTC (rev 84475)
+++ branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php     
2011-03-21 19:38:17 UTC (rev 84476)
@@ -110,7 +110,8 @@
                
                $validator = new Validator( 'form', false ); // TODO
                
-               foreach ( $params as $key => $value ) {
+               $parameters = array();
+               foreach ( $mapProperties as $key => $value ) {
                        if ( !is_array( $value ) && !is_object( $value ) ) {
                                $parameters[$key] = $value;
                        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to