In preg_replace, $ can be used to do backreferences. If it's not escaped, something like '$50' becomes empty. This patch escapes $.

--Andrew

Comments

deviantintegral’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1 KB

Here is an updated patch which applies against the latest version and has better operator spacing. I will be committing this to both the D5 and D6 versions shortly.

deviantintegral’s picture

Status: Reviewed & tested by the community » Fixed

Committed for D5 and D6.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.