Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2013 12:34:27 PM (12 years ago)
Author:
boonebgorges
Message:

Coding standards compliance in bp-notifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-notifications/bp-notifications-classes.php

    r7535 r7536  
    723723        );
    724724
    725         if ( !empty( $item_id ) ) {
     725        if ( ! empty( $item_id ) ) {
    726726            $where_args['item_id'] = $item_id;
    727727        }
    728728
    729         if ( !empty( $component_name ) ) {
     729        if ( ! empty( $component_name ) ) {
    730730            $where_args['component_name'] = $component_name;
    731731        }
    732732
    733         if ( !empty( $component_action ) ) {
     733        if ( ! empty( $component_action ) ) {
    734734            $where_args['component_action'] = $component_action;
    735735        }
    736736
    737         if ( !empty( $secondary_item_id ) ) {
     737        if ( ! empty( $secondary_item_id ) ) {
    738738            $where_args['secondary_item_id'] = $secondary_item_id;
    739739        }
     
    762762        );
    763763
    764         if ( !empty( $component_name ) ) {
     764        if ( ! empty( $component_name ) ) {
    765765            $where_args['component_name'] = $component_name;
    766766        }
    767767
    768         if ( !empty( $component_action ) ) {
     768        if ( ! empty( $component_action ) ) {
    769769            $where_args['component_action'] = $component_action;
    770770        }
    771771
    772         if ( !empty( $secondary_item_id ) ) {
     772        if ( ! empty( $secondary_item_id ) ) {
    773773            $where_args['secondary_item_id'] = $secondary_item_id;
    774774        }
     
    804804        );
    805805
    806         if ( !empty( $component_name ) ) {
     806        if ( ! empty( $component_name ) ) {
    807807            $where_args['component_name'] = $component_name;
    808808        }
    809809
    810         if ( !empty( $component_action ) ) {
     810        if ( ! empty( $component_action ) ) {
    811811            $where_args['component_action'] = $component_action;
    812812        }
    813813
    814         if ( !empty( $secondary_item_id ) ) {
     814        if ( ! empty( $secondary_item_id ) ) {
    815815            $where_args['secondary_item_id'] = $secondary_item_id;
    816816        }
Note: See TracChangeset for help on using the changeset viewer.