Permalink
Browse files

"," & " " fix

  • Loading branch information...
1 parent c073301 commit e2946fc1bb4afd77cce3b6343cbe6e7d4634cd94 ethem committed Aug 2, 2005
Showing with 2 additions and 2 deletions.
  1. +1 −1 enrol/authorize/db/postgres7.php
  2. +1 −1 enrol/authorize/db/postgres7.sql
@@ -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.
modify_database('',"CREATE INDEX prefix_enrol_authorize_courseid_idx ON prefix_enrol_authorize (courseid);");
modify_database('',"CREATE INDEX prefix_enrol_authorize_userid_idx ON prefix_enrol_authorize (userid);");
@@ -7,5 +7,5 @@ CREATE TABLE prefix_enrol_authorize (
courseid integer NOT NULL default '0',
userid integer NOT NULL default '0',
avscode varchar(1) default 'P',
- transid varchar(255) default '',
+ transid varchar(255) default ''
);

0 comments on commit e2946fc

Please sign in to comment.