Index: trunk/extensions/SemanticMaps/Features/FormInputs/SM_FormInput.php |
— | — | @@ -63,12 +63,12 @@ |
64 | 64 | |
65 | 65 | $manager = new ValidatorManager(); |
66 | 66 | |
67 | | - $result = $manager->manageParameters( $mapProperties, $parameterInfo ); |
| 67 | + $showMap = $manager->manageParameters( $mapProperties, $parameterInfo ); |
68 | 68 | |
69 | | - $showMap = $result !== false; |
| 69 | + if ( $showMap ) { |
| 70 | + $this->setMapProperties( $manager->getParameters( false ), __CLASS__ ); |
| 71 | + } |
70 | 72 | |
71 | | - if ( $showMap ) $this->setMapProperties( $result, __CLASS__ ); |
72 | | - |
73 | 73 | $this->errorList = $manager->getErrorList(); |
74 | 74 | |
75 | 75 | return $showMap; |
Index: trunk/extensions/SemanticMaps/Features/QueryPrinters/SM_MapPrinter.php |
— | — | @@ -120,12 +120,12 @@ |
121 | 121 | |
122 | 122 | $manager = new ValidatorManager(); |
123 | 123 | |
124 | | - $result = $manager->manageParameters( $mapProperties, $parameterInfo ); |
| 124 | + $showMap = $manager->manageParameters( $mapProperties, $parameterInfo ); |
125 | 125 | |
126 | | - $showMap = $result !== false; |
| 126 | + if ( $showMap ) { |
| 127 | + $this->setMapProperties( $manager->getParameters( false ), __CLASS__ ); |
| 128 | + } |
127 | 129 | |
128 | | - if ( $showMap ) $this->setMapProperties( $result, __CLASS__ ); |
129 | | - |
130 | 130 | $this->errorList = $manager->getErrorList(); |
131 | 131 | |
132 | 132 | return $showMap; |