Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
Fix exercise name detection
Browse files Browse the repository at this point in the history
  • Loading branch information
carter2422 committed Oct 7, 2015
1 parent 9f5c0f7 commit 7598638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/user_actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Track Exercise actions
function cgc_track_exercise_submitted( $user_id, $submission_id, $type ) {

$exercise_parent = get_post_meta( $submission_id, _cgc_exercise_submission_linked_to, true);
$exercise_parent = get_post_meta( $submission_id, '_cgc_exercise_submission_linked_to', true);
$exercise = get_the_title( $exercise_parent );

$properties = array(
Expand Down

0 comments on commit 7598638

Please sign in to comment.