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/users/options.php

    r5770 r5908  
    116116
    117117    // Check the options global for preset value
    118     if ( isset( $user->ID ) && isset( $bbp->user_options[$user->ID] ) && ! empty( $bbp->user_options[$user->ID][$option] ) ) {
    119         $value = $bbp->user_options[$user->ID][$option];
     118    if ( isset( $user->ID ) && isset( $bbp->user_options[ $user->ID ] ) && ! empty( $bbp->user_options[ $user->ID ][ $option ] ) ) {
     119        $value = $bbp->user_options[ $user->ID ][ $option ];
    120120    }
    121121
Note: See TracChangeset for help on using the changeset viewer.