Skip to:
Content

bbPress.org

Changeset 3573


Ignore:
Timestamp:
11/02/2011 06:25:26 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Code formatting improvements to bbp_toggle_reply_handler() and prevent possible debug notice on $failure. See r3544. (2.1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-reply-functions.php

    r3572 r3573  
    962962        return;
    963963
     964    $failure   = '';                         // Empty failure string
    964965    $view_all  = false;                      // Assume not viewing all
    965966    $action    = $_GET['action'];            // What action is taking place?
     
    969970
    970971    // Make sure reply exists
    971     if ( !$reply = bbp_get_reply( $reply_id ) )
     972    $reply = bbp_get_reply( $reply_id );
     973    if ( empty( $reply ) )
    972974        return;
    973975
Note: See TracChangeset for help on using the changeset viewer.