diff --git a/models/redirect/redirect.php b/models/redirect/redirect.php index c95137b0..909c56ce 100644 --- a/models/redirect/redirect.php +++ b/models/redirect/redirect.php @@ -544,7 +544,7 @@ public function update( $details ) { $result = $wpdb->update( $wpdb->prefix . 'redirection_items', $data, array( 'id' => $this->id ) ); if ( $result !== false ) { - do_action( 'redirection_redirect_updated', $this, self::get_by_id( $this->id ) ); + do_action( 'redirection_redirect_updated', $this->id, self::get_by_id( $this->id ) ); $this->load_from_data( $data ); Red_Module::flush( $this->group_id );