Plugin Directory

Changeset 3362966


Ignore:
Timestamp:
09/17/2025 07:15:28 AM (7 months ago)
Author:
prasunsen
Message:

fixed DB query error

Location:
chained-quiz/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chained-quiz/trunk/chained-quiz.php

    r3362701 r3362966  
    55Description: Create a chained quiz where the upcoming questions can depend on the previous answer
    66Author: Kiboko Labs
    7 Version: 1.3.5
     7Version: 1.3.6
    88Author URI: http://calendarscripts.info/
    99License: GPLv2 or later
  • chained-quiz/trunk/models/quiz.php

    r3362701 r3362966  
    179179             // if for whatever reason it's already completed don't override it
    180180             $is_completed = $wpdb->get_var($wpdb->prepare("SELECT id FROM ".CHAINED_COMPLETED."
    181                 WHERE id=%d snapshot IS NOT NULL", $completion_id));
     181                WHERE id=%d AND snapshot IS NOT NULL", $completion_id));
    182182
    183183             if(!$is_completed) {
Note: See TracChangeset for help on using the changeset viewer.