Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2016 04:59:31 PM (9 years ago)
Author:
r-a-y
Message:

Activity: Cast activity properties as integers where appropriate.

Props DJPaul, r-a-y.

See #6977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10828 r10853  
    580580        // If an error occurred, pass back the activity ID that failed.
    581581        if ( $error )
    582             $redirect_to = add_query_arg( 'error', (int) $error, $redirect_to );
     582            $redirect_to = add_query_arg( 'error', $error, $redirect_to );
    583583        else
    584             $redirect_to = add_query_arg( 'updated', (int) $activity->id, $redirect_to );
     584            $redirect_to = add_query_arg( 'updated', $activity->id, $redirect_to );
    585585
    586586        /**
Note: See TracChangeset for help on using the changeset viewer.