Changeset 1897
- Timestamp:
- 09/17/2009 07:12:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1878 r1897 782 782 783 783 function xprofile_insert_field( $args = '' ) { 784 global $bp; 785 784 786 extract( $args ); 785 787 … … 805 807 806 808 /* Check this is a valid field type */ 807 if ( !in_array( $type, $bp->profile->field_types ) )809 if ( !in_array( (array) $type, $bp->profile->field_types ) ) 808 810 return false; 809 811
Note: See TracChangeset
for help on using the changeset viewer.