Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/08/2016 02:43:27 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Tools: Fix undeclared variables and incorrect variable types, for improved PHP 7.1 compatibility.

This will quiet down most of our continuous integration noise.

Props hellofromTonya. Fixes #3031.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/forums/template.php

    r6056 r6135  
    694694
    695695    // Setup post status array
    696     $post_stati[] = bbp_get_public_status_id();
     696    $post_stati = array( bbp_get_public_status_id() );
    697697
    698698    // Super admin get whitelisted post statuses
Note: See TracChangeset for help on using the changeset viewer.