Skip to content

Commit

Permalink
Bugfix. Don't use primary_name['fullNN'] because it includes the nick…
Browse files Browse the repository at this point in the history
…name. The quotes around the nickname causes the 'wiewaswie' entry to break.
  • Loading branch information
JustCarmen committed Nov 21, 2013
1 parent 6b1ff58 commit d6213cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/wiewaswie.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static function create_link(WT_Fact $event) {
$all_names=$dummy->getAllNames();
$primary_name=$all_names[0];

return $link = 'https://www.wiewaswie.nl/personen-zoeken/zoeken/q/'.str_replace(" ", "+", $primary_name['fullNN']).'/type/documenten';
return $link = 'https://www.wiewaswie.nl/personen-zoeken/zoeken/q/'.str_replace(" ", "+", $primary_name['givn'].' '.$primary_name['surn']).'/type/documenten';
}

static function create_sublink(WT_Fact $event) {
Expand Down

0 comments on commit d6213cf

Please sign in to comment.