WordPress.org

Plugin Directory

Changeset 532517


Ignore:
Timestamp:
04/17/12 20:29:53 (2 years ago)
Author:
sushkov
Message:

Fixed a typo when trying to access wrong variable. Porps @chaoti

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddypress-courseware/trunk/gradebook/gradebook.class.php

    r498793 r532517  
    525525                'uid' => $results['response']->post_author, 
    526526                // Generate a percentage 
    527                 'value' => ( isset( $form_results['correct'] ) && $form_results['correct'] > 0 ) 
     527                'value' => ( isset( $quiz_data['correct'] ) && $quiz_data['correct'] > 0 ) 
    528528                    ? round( $quiz_data['correct'] / $quiz_data['total'] * 100, 2 ) 
    529529                    : 0, 
Note: See TracChangeset for help on using the changeset viewer.