Skip to content
Snippets Groups Projects

fixing order of parameters in geocoder_widget_resolve_deltas method

1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
+ 4
2
@@ -535,9 +535,11 @@ function geocoder_widget_get_field_concat($items) {
* Given a list of geometries, and user configuration on how to handle deltas,
* we created a list of items to be inserted into the fields.
*/
function geocoder_widget_resolve_deltas($geometries, $delta_handling = 'default', $target_info) {
function geocoder_widget_resolve_deltas($geometries, $delta_handling, $target_info) {
$values = array();
if (empty($delta_handling)) {
$delta_handling = 'default';
}
// Default delta handling: just pass one delta to the next.
if ($delta_handling === 'default') {
foreach ($geometries as $geometry) {
Loading