Parse error with PHP 4

Junyor - July 21, 2008 - 19:50
Project:Masquerade
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

5.x-1.2 doesn't work under PHP 4:

PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in masquerade.module on line 230

Apparently $user_name = user_load(array('uid' => $switch_user))->name; isn't valid under PHP 4.

#1

Junyor - July 21, 2008 - 19:59
Status:active» needs review
AttachmentSize
contrib-5.masquerade.parse-error.junyor.patch 966 bytes

#2

deekayen - September 25, 2008 - 12:10
Status:needs review» fixed

committed in CVS revision 1.15.2.12

#3

Anonymous (not verified) - October 9, 2008 - 12:11
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.