Closed (won't fix)
Project:
Webform PHP
Version:
6.x-3.x-dev
Component:
Webform PHP
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Dec 2010 at 03:50 UTC
Updated:
28 Jan 2011 at 04:08 UTC
Frankly, I don’t think anyone should use this module for new PHP code, but should instead be creating a hook in a module but, as this module is handy for people who are upgrading, it would seem most helpful to provide compatibility with existing WebForm 2.x PHP scripts.
With this in mind, I discovered that the 3.x version does not make the $user variable global. In my mind, whether or not 2.x should have made it global is secondary to the issue of backward compatibility.
This patch corrects this incompatibility regression.
| Comment | File | Size | Author |
|---|---|---|---|
| webform_php_globals.patch | 465 bytes | Daniel Norton |
Comments
Comment #1
quicksketch#1043088: This project is abandoned, please stop using it