diff --git bp-templates/bp-legacy/buddypress-functions.php bp-templates/bp-legacy/buddypress-functions.php
index bca42bb..784b2dc 100644
|
|
function bp_legacy_theme_post_update() { |
706 | 706 | if ( empty( $activity_id ) ) |
707 | 707 | exit( '-1<div id="message" class="error"><p>' . __( 'There was a problem posting your update, please try again.', 'buddypress' ) . '</p></div>' ); |
708 | 708 | |
709 | | $last_recorded = isset( $_POST['since'] ) ? date( 'Y-m-d H:i:s', intval( $_POST['since'] ) ) : 0; |
| 709 | $last_recorded = ! empty( $_POST['since'] ) ? date( 'Y-m-d H:i:s', intval( $_POST['since'] ) ) : 0; |
710 | 710 | if ( $last_recorded ) { |
711 | 711 | $activity_args = array( 'since' => $last_recorded ); |
712 | 712 | $bp->activity->last_recorded = $last_recorded; |