Download & Extend

Call-time pass-by-reference error

Project:AHAH helper
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

There is a single Call-time pass-by-reference error on line 255. Patch attached.

AttachmentSize
ahah_helper.module.patch612 bytes

Comments

#1

Status:needs review» reviewed & tested by the community

I have applied and tested the patch. Does what it says on the tin, i.e. gets rid of the call-time pass-by-reference warning.

#2

I've applied and tested the patch too - RTBC. This patch *must* be applied to 6.x-2.0 otherwise there's a nasty error as soon as the module is enabled, and on every page load after that.

#3

Roger,

One year later it still hasn't been fixed! Isn't that weird?! Such an easy fix!

I ran in this one too.

Thank you.
Alexis Wilke

#4

Version:6.x-2.0» 6.x-2.x-dev

Btw, this is still true in the Feb 16, 2010 2.x-dev version, which is the one I downloaded.

By default PHP does not allow those & and you should have your PHP setup that way too when working on your Drupal modules.

Thank you.
Alexis Wilke

#5

Status:reviewed & tested by the community» fixed

Patch commited.

#6

Status:fixed» closed (fixed)

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

nobody click here