We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8c45d6 + dc94d34 commit 72b9623Copy full SHA for 72b9623
classes/models/relations.php
@@ -140,7 +140,7 @@ public static function delete_by_blog_id( $blog_id ) {
140
141
// Clean cache before delete
142
$relations = $wpdb->get_results(
143
- $wpdb->prepare( "SELECT * FROM $wpdb->bea_csf_relations WHERE receiver_blog_id = %d", receiver_blog_id )
+ $wpdb->prepare( "SELECT * FROM $wpdb->bea_csf_relations WHERE receiver_blog_id = %d", $blog_id )
144
);
145
if ( ! empty( $relations ) ) {
146
foreach ( $relations as $relation ) {
0 commit comments