Skip to content

Commit

Permalink
Fix not loading course enddate
Browse files Browse the repository at this point in the history
  • Loading branch information
morrigan committed Mar 10, 2023
1 parent f2a1671 commit 990c53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page-courses.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
$firstJoin = $wpdb->prefix."rkg_course_template";
$secondJoin = $wpdb->prefix."posts";
$context['courses'] = $wpdb->get_results("SELECT rcm.id, rcm.category AS cat, "
."rct.category, rcm.starttime, rcm.deadline, rct.name, rct.priority, "
."rct.category, rcm.starttime, rcm.endtime, rcm.deadline, rct.name, rct.priority, "
."p.post_title, p.post_content FROM ".$tableName." AS rcm "
."INNER JOIN ".$firstJoin." AS rct ON rcm.category = rct.id "
."INNER JOIN ".$secondJoin." AS p ON rcm.id = p.id "
Expand Down

0 comments on commit 990c53b

Please sign in to comment.