Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/14/2016 12:13:14 PM (7 years ago)
Author:
xknown
Message:

branch 0.9: Silence signature mismatch notices.

In PHP 7.0, they are reported as warnings http://php.net/manual/fr/migration70.incompatible.php#migration70.incompatible.error-handling.strict

See #3033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-admin/includes/functions.bb-admin.php

    r6154 r6170  
    12801280    }
    12811281   
    1282     function start_el($output, $forum, $depth) {
     1282    function start_el($output, $forum, $depth = 0) {
    12831283        $this->forum_id = $forum->forum_id;
    12841284        $indent = str_repeat("\t", $depth + 1);
    12851285        $output .= $indent . "<li id='forum-$this->forum_id'" . get_alt_class( 'forum', 'forum clear list-block' ) . ">\n";
    1286 
    12871286        return $output;
    12881287    }
    12891288   
    1290     function end_el($output, $forum, $depth) {
     1289    function end_el($output, $forum, $depth = 0) {
    12911290        $indent = str_repeat("\t", $depth + 1);
    12921291        $output .= $indent . "</li>\n";
Note: See TracChangeset for help on using the changeset viewer.