Download & Extend

Parse error: parse error, unexpected '=', expecting ')' in title_rewrite/title_rewrite.module on line 207

Project:Title Rewrite
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

When you using PHP 4.x there is followed syntax error:

Parse error: parse error, unexpected '=', expecting ')' in title_rewrite/title_rewrite.module on line 207

To fix that, delete default value from reference variable:
From:
function title_rewrite_page_get_title($current_title = NULL, &$node = NULL) {

To:
function title_rewrite_page_get_title($current_title = NULL, &$node) {

Issue tested on PHP 4.3.10

Comments

#1

Status:needs review» closed (won't fix)
nobody click here