From ba4a925437231ed83cff357d32a9a8840f65b988 Mon Sep 17 00:00:00 2001 From: Justin Foell Date: Fri, 26 Jan 2018 14:43:34 -0600 Subject: [PATCH] Fix array indices on map widget --- lib/LatestMapWidget.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/LatestMapWidget.class.php b/lib/LatestMapWidget.class.php index 843bdcd..48d8e1e 100644 --- a/lib/LatestMapWidget.class.php +++ b/lib/LatestMapWidget.class.php @@ -120,15 +120,15 @@ class WPStrava_LatestMapWidget extends WP_Widget { } if ( $activity ) { - echo $args['$before_widget']; + echo $args['before_widget']; if ( $title ) { - echo $args['$before_title'] . $title . $args['$after_title']; + echo $args['before_title'] . $title . $args['after_title']; } echo ""; echo $this->get_static_image( $athlete_token, $activity, $build_new ); echo ''; - echo $args['$after_widget']; + echo $args['after_widget']; } }