-
MODX Staff
- 10,725 Posts
Wendy, this is not really a bug, since you are appending the ? outside the tag, without regard to friendly_url status -- are you doing this in a snippet? If so, you need to use $modx->makeUrl() which will handle this properly. The problem is, without friendly URLs, there is already a ?, so you would need to determine in your code whether to add the query string using ? or &. If you are doing this in content, I suggest writing a snippet that appends the query string to a link using $modx->makeUrl.
You can also do what WebLogin does to figure out what character to append.