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
#2
committed in CVS revision 1.15.2.12
#3
Automatically closed -- issue fixed for two weeks with no activity.