Skip to:
Content

bbPress.org


Ignore:
Timestamp:
10/10/2011 06:16:58 AM (13 years ago)
Author:
johnjamesjacoby
Message:

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

File:
1 edited

Legend:

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

    r3540 r3544  
    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.