Fix event logos error when teams are not selected
This commit is contained in:
@@ -63,6 +63,17 @@ function sp_array_overlay( $a1, $a2 ) {
|
||||
return $a1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array filter returns positive values only.
|
||||
*
|
||||
* @access public
|
||||
* @param int $var
|
||||
* @return bool
|
||||
*/
|
||||
function sp_filter_positive( $var = 0 ) {
|
||||
return $var > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* let_to_num function.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user