Changeset 8341
- Timestamp:
- 05/02/2014 05:38:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-templates/bp-legacy/buddypress-functions.php
r8251 r8341 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 );
Note: See TracChangeset
for help on using the changeset viewer.