Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…in postgres
  • Loading branch information...
commit 4c9c104a227679e0de15a35f1a2b9e4d1d48fe7c 1 parent 7965748
mjollnir_ authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/scorm/db/postgres7.php
2  mod/scorm/db/postgres7.php
@@ -68,7 +68,7 @@ function scorm_upgrade($oldversion) {
68 68
69 69 modify_database('','CREATE INDEX prefix_scorm_scoes_track_userdata_idx ON prefix_scorm_scoes_track (userid, scormid, scoid);');
70 70
71   - $oldTrackingData = get_records_select("scorm_sco_users","1","id ASC");
  71 + $oldTrackingData = get_records_select("scorm_sco_users",null,"id ASC");
72 72 $oldElementArray = array ('cmi_core_lesson_location','cmi_core_lesson_status','cmi_core_exit','cmi_core_total_time','cmi_core_score_raw','cmi_suspend_data');
73 73 foreach ($oldTrackingData as $oldTrack) {
74 74 $newTrack = '';

0 comments on commit 4c9c104

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