Skip to:
Content

bbPress.org


Ignore:
Timestamp:
08/11/2015 08:17:53 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Sniffer: Whitespace around variables in arrays.

File:
1 edited

Legend:

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

    r5894 r5908  
    799799        foreach ( (array) $revisions as $revision ) {
    800800
    801             if ( empty( $revision_log[$revision->ID] ) ) {
     801            if ( empty( $revision_log[ $revision->ID ] ) ) {
    802802                $author_id = $revision->post_author;
    803803                $reason    = '';
    804804            } else {
    805                 $author_id = $revision_log[$revision->ID]['author'];
    806                 $reason    = $revision_log[$revision->ID]['reason'];
     805                $author_id = $revision_log[ $revision->ID ]['author'];
     806                $reason    = $revision_log[ $revision->ID ]['reason'];
    807807            }
    808808
Note: See TracChangeset for help on using the changeset viewer.