Skip to content
Permalink
Browse files

MDL-48638 database SQL: Fix typo in exception constructor

  • Loading branch information...
merrill-oakland committed Dec 18, 2014
1 parent 981f06f commit 3f0023b995eee2a2db2b36a5604d016c5918e7a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dmllib.php
@@ -205,7 +205,7 @@ function __construct($tablename, $sql='', array $params=null) {
case 'course':
$errcode = empty($sql) ? 'invalidcourseid' : 'invalidrecord';
break;
case 'course_module':
case 'course_modules':
$errcode = 'invalidcoursemodule';
break;
case 'user':

0 comments on commit 3f0023b

Please sign in to comment.
You can’t perform that action at this time.