| @@ -406,9 +406,9 @@ | ||
| 406 | 406 | $course_taxonomy = CourseModel::COURSE_CATEGORY; |
| 407 | 407 | |
| 408 | 408 | $remaining_categories = $wpdb->get_var( |
| 409 | 409 | $wpdb->prepare( |
| 410 | - "SElECT | |
| 410 | + "SELECT | |
| 411 | 411 | COUNT(*) AS total |
| 412 | 412 | FROM {$wpdb->terms} AS term |
| 413 | 413 | INNER JOIN {$wpdb->term_taxonomy} AS taxonomy |
| 414 | 414 | ON taxonomy.term_id = term.term_id AND taxonomy.taxonomy = %s |
| @@ -421,9 +421,9 @@ | ||
| 421 | 421 | ); |
| 422 | 422 | |
| 423 | 423 | $add_categories = $wpdb->get_results( |
| 424 | 424 | $wpdb->prepare( |
| 425 | - "SElECT | |
| 425 | + "SELECT | |
| 426 | 426 | * |
| 427 | 427 | FROM {$wpdb->terms} term |
| 428 | 428 | INNER JOIN {$wpdb->term_taxonomy} as taxonomy |
| 429 | 429 | ON taxonomy.term_id = term.term_id AND taxonomy.taxonomy = %s |