jeffturcotte/anchor — Issue #5: Anchor::link() breaks when array is first query string parameter argument
Author: pjbeardsley
Created: 2011-12-29 16:24:47+00:00
State: open

When the first query string parameter is an array, the following notice is generated and the query string fails to generate:

```
Notice: Undefined offset: 1 in /app/lib/anchor/Anchor.php on line 759
```

If the first param is not an array, everything works as expected, even if one of the subsequent parameters is an array.

The issue exists in both this version and the iMarc fork.

At one point I found some other non-error-generating weirdness related to parameter behavior, which I attempted to fix in [this pull request](https://github.com/pjbeardsley/anchor/commit/bb9ccb565e93d8d8158a229be13b60fc028b6371). That commit does NOT fix this issue.