Permalink
Browse files

" " fix

  • Loading branch information...
1 parent e2946fc commit 5e53ffba34ac086b13d098d14b06942062f7af01 ethem committed Aug 2, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/db/mysql.php
View
2 enrol/authorize/db/mysql.php
@@ -16,7 +16,7 @@ function authorize_upgrade($oldversion=0) {
// Be sure, only last 4 digit is inserted.
table_column('enrol_authorize', 'cclastfour', 'cclastfour', 'integer', '4', 'unsigned', '0', 'not null');
table_column('enrol_authorize', 'courseid', 'courseid', 'integer', '10', 'unsigned', '0', 'not null');
- table_column('enrol_authorize', 'userid ', 'userid ', 'integer', '10', 'unsigned', '0', 'not null');
+ table_column('enrol_authorize', 'userid', 'userid', 'integer', '10', 'unsigned', '0', 'not null');
// Add some indexes for speed.
execute_sql(" ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX courseid(courseid) ");
execute_sql(" ALTER TABLE `{$CFG->prefix}enrol_authorize` ADD INDEX userid(userid) ");

0 comments on commit 5e53ffb

Please sign in to comment.