Skip to content

Commit

Permalink
Merged from MOODLE_14_STABLE: Fix for postgres-invalid-sql (must have…
Browse files Browse the repository at this point in the history
… AS between field and alias)
  • Loading branch information
mjollnir_ committed Nov 24, 2004
1 parent 7331b86 commit 56e9c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/glossary/sql.php
Expand Up @@ -109,7 +109,7 @@
$where = '';
}

$sqlselect = "SELECT ge.id, $usernamefield $as pivot, u.id uid, ge.*";
$sqlselect = "SELECT ge.id, $usernamefield $as pivot, u.id as uid, ge.*";
$sqlfrom = "FROM {$CFG->prefix}glossary_entries ge, {$CFG->prefix}user u";
$sqlwhere = "WHERE ge.userid = u.id AND
(ge.approved != 0 $userid)
Expand Down

0 comments on commit 56e9c38

Please sign in to comment.