Permalink
Browse files

MDL-19729 fix SQL incompatibility with Oracle

  • Loading branch information...
1 parent 088d739 commit 2461d989821ccb8e9200dfa828f2cc0ec4e12f27 fmarier committed Jul 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/accesslib.php
View
@@ -3191,7 +3191,7 @@ function get_child_contexts($context) {
case CONTEXT_SYSTEM:
// Just get all the contexts except for CONTEXT_SYSTEM level.
$sql = 'SELECT c.id '.
- 'FROM '.$CFG->prefix.'context AS c '.
+ 'FROM '.$CFG->prefix.'context c '.
'WHERE contextlevel != '.CONTEXT_SYSTEM;
$contexts = get_records_sql($sql);

0 comments on commit 2461d98

Please sign in to comment.