Skip to:
Content

bbPress.org

Changeset 6906


Ignore:
Timestamp:
06/10/2019 11:13:57 PM (2 months ago)
Author:
johnjamesjacoby
Message:

Tools/Repair: add missing apostrophe in bbp_admin_repair_user_favorites().

This commit allows the favorites repair tool to correctly query for chunked results.

Fixes #3259.
Props GDragoN.
For 2.5.x.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/admin/tools.php

    r6800 r6906  
    638638
    639639        $favorites_joined = implode( ',', $favorites );
    640         $values[]         = "('{$user->user_id}', '{$key}, '{$favorites_joined}')";
     640        $values[]         = "('{$user->user_id}', '{$key}', '{$favorites_joined}')";
    641641
    642642        // Cleanup
Note: See TracChangeset for help on using the changeset viewer.