Return 0 for sort order function
This commit is contained in:
@@ -404,7 +404,7 @@ class SP_League_Table extends SP_Custom_Post{
|
|||||||
// Increment if not equal
|
// Increment if not equal
|
||||||
$this->pos[] = $this->counter;
|
$this->pos[] = $this->counter;
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
|
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
@@ -412,6 +412,6 @@ class SP_League_Table extends SP_Custom_Post{
|
|||||||
|
|
||||||
// Repeat position if equal
|
// Repeat position if equal
|
||||||
$this->pos[] = end( $this->pos );
|
$this->pos[] = end( $this->pos );
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user