Index: trunk/extensions/Maps/Services/YahooMaps/Maps_YahooMaps.php |
— | — | @@ -77,7 +77,8 @@ |
78 | 78 | 'in_array' => $allowedTypes |
79 | 79 | ), |
80 | 80 | 'default' => $egMapsYahooMapsType, // FIXME: default value should not be used when not present in types parameter. |
81 | | - 'output-type' => 'ymaptype' |
| 81 | + 'output-type' => 'ymaptype', |
| 82 | + 'dependencies' => array( 'types' ) |
82 | 83 | ), |
83 | 84 | 'types' => array ( |
84 | 85 | 'type' => array( 'string', 'list' ), |
Index: trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php |
— | — | @@ -79,7 +79,8 @@ |
80 | 80 | 'in_array' => $allowedTypes |
81 | 81 | ), |
82 | 82 | 'default' => $egMapsGoogleMapsType, // FIXME: default value should not be used when not present in types parameter. |
83 | | - 'output-type' => 'gmaptype' |
| 83 | + 'output-type' => 'gmaptype', |
| 84 | + 'dependencies' => array( 'types' ) |
84 | 85 | ), |
85 | 86 | 'types' => array( |
86 | 87 | 'type' => array( 'string', 'list' ), |