On line 99 of url_alter.module $code was evaluating to TRUE, which in turn gave the php error when eval() was run.

CommentFileSizeAuthor
url_alter-HEAD_unexpected_end.patch1.25 KBdboulet

Comments

dave reid’s picture

This probably just needs to be changed with an extra paranthesis. Could you test if this change works?
if (($code = url_alter_var('inbound')) && !isset($_GET['url-alter-kill'])) {

dave reid’s picture

Status: Needs review » Fixed

I applied a combination of the supplied patch and #1 to CVS. I have also released 6.x-1.1 for the current code.

Status: Fixed » Closed (fixed)

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