Making WordPress.org

Changeset 2030


Ignore:
Timestamp:
11/02/2015 06:54:29 AM (11 years ago)
Author:
nacin
Message:

Trac Notifications: args passed to insert()/delete() must be an array. (They can be an object because the HTTP client uses JSON for args.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications-db.php

    r2028 r2030  
    189189                foreach ( $all_changes as $method => $changes ) {
    190190                        foreach ( $changes as $where ) {
    191                                 call_user_func( array( $this->db, $method ), '_notifications', $where );
     191                                call_user_func( array( $this->db, $method ), '_notifications', (array) $where );
    192192                        }
    193193                }
Note: See TracChangeset for help on using the changeset viewer.