v3.9.1.5 – Standings Broken – Warning: array_keys() expects parameter 1
-
Hi,
The latest update has broken the standing shortcode when the league name is supplied and not an id.
core.php – line ~490
$league = $wpdb->get_results($wpdb->prepare(“SELECT
title
,id
,seasons
,settings
FROM {$wpdb->leaguemanager} WHEREid
= ‘%d’ ORtitle
= ‘%s'”, intval($league_id), intval($league_id)) );should be
$league = $wpdb->get_results($wpdb->prepare(“SELECT
title
,id
,seasons
,settings
FROM {$wpdb->leaguemanager} WHEREid
= ‘%d’ ORtitle
= ‘%s'”, intval($league_id), $league_id) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘v3.9.1.5 – Standings Broken – Warning: array_keys() expects parameter 1’ is closed to new replies.