Reverse form array to display in chronological order
This commit is contained in:
@@ -456,6 +456,9 @@ class SP_League_Table extends SP_Custom_Post{
|
|||||||
// Initialize team form array
|
// Initialize team form array
|
||||||
$team_form = array();
|
$team_form = array();
|
||||||
|
|
||||||
|
// Reverse form array to display in chronological order
|
||||||
|
$form = array_reverse( $form );
|
||||||
|
|
||||||
// Loop through event form
|
// Loop through event form
|
||||||
foreach ( $form as $form_event ):
|
foreach ( $form as $form_event ):
|
||||||
if ( $form_event['id'] ):
|
if ( $form_event['id'] ):
|
||||||
|
|||||||
Reference in New Issue
Block a user