[contributions(DRUPAL-4-7):tbarregren] /modules/roleassign roleassign.module
22 Sep
2006
22 Sep
'06
9:29 a.m.
User: tbarregren Branch: DRUPAL-4-7 Date: Fri, 22 Sep 2006 07:29:55 +0000 Modified files: /modules/roleassign roleassign.module Log message: Now compatible with PHP4. PHP4 can't handle a member select operator (->) following a function returnig an object. The solution is to split the construction into two statements. Thus, for following statement to work in PHP4: $member_value = function_returning_object()->member; it must be written as: $object = function_returning_object(); $member_value = $object->member; Links: http://cvs.drupal.org/diff.php?path=contributions/modules/roleassign/roleass...
7221
Age (days ago)
7221
Last active (days ago)
0 comments
1 participants
participants (1)
-
drupal-cvs@drupal.org