Skip to content
Browse files

One more syntax fix for scorm postgres upgrade. You can't do WHERE 1 …

…in postgres
  • Loading branch information...
1 parent 7965748 commit 4c9c104a227679e0de15a35f1a2b9e4d1d48fe7c mjollnir_ committed Apr 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/db/postgres7.php
View
2 mod/scorm/db/postgres7.php
@@ -68,7 +68,7 @@ function scorm_upgrade($oldversion) {
modify_database('','CREATE INDEX prefix_scorm_scoes_track_userdata_idx ON prefix_scorm_scoes_track (userid, scormid, scoid);');
- $oldTrackingData = get_records_select("scorm_sco_users","1","id ASC");
+ $oldTrackingData = get_records_select("scorm_sco_users",null,"id ASC");
$oldElementArray = array ('cmi_core_lesson_location','cmi_core_lesson_status','cmi_core_exit','cmi_core_total_time','cmi_core_score_raw','cmi_suspend_data');
foreach ($oldTrackingData as $oldTrack) {
$newTrack = '';

0 comments on commit 4c9c104

Please sign in to comment.
Something went wrong with that request. Please try again.