Changeset 10540
- Timestamp:
- 02/07/2016 11:10:17 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/deprecated/2.5.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/deprecated/2.5.php
r10504 r10540 74 74 75 75 $original_value = $value; 76 77 if ( $property === 'to' ) { 76 $to_changed = false; 77 78 if ( $property === 'to' && $original_value ) { 79 $to_changed = true; 80 78 81 $value = array_shift( $original_value ); 79 82 $recipient_name = $value->get_name(); // Value - name … … 646 649 } 647 650 648 if ( $property === 'to' ) {649 // We always break apart $to, so we alwaysneed to rebuild it.651 if ( $property === 'to' && $to_changed ) { 652 // We normally apart $to, so we often need to rebuild it. 650 653 array_unshift( $original_value, new BP_Email_Recipient( $value, $recipient_name ) ); 651 654 $value = $original_value;
Note: See TracChangeset
for help on using the changeset viewer.