Changeset 5484 for trunk/bp-activity/bp-activity-classes.php
- Timestamp:
- 12/10/2011 06:19:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r5262 r5484 87 87 $q = $wpdb->prepare( "INSERT INTO {$bp->activity->table_name} ( user_id, component, type, action, content, primary_link, date_recorded, item_id, secondary_item_id, hide_sitewide, is_spam ) VALUES ( %d, %s, %s, %s, %s, %s, %s, %s, %s, %d, %d )", $this->user_id, $this->component, $this->type, $this->action, $this->content, $this->primary_link, $this->date_recorded, $this->item_id, $this->secondary_item_id, $this->hide_sitewide, $this->is_spam ); 88 88 89 if ( !$wpdb->query( $q ) )89 if ( false === $wpdb->query( $q ) ) 90 90 return false; 91 91
Note: See TracChangeset
for help on using the changeset viewer.