MDL-29325 fixed typo - camelcasing.
authorAparup Banerjee <aparup@moodle.com>
Wed, 14 Dec 2011 05:12:57 +0000 (13:12 +0800)
committerAparup Banerjee <aparup@moodle.com>
Wed, 14 Dec 2011 05:12:57 +0000 (13:12 +0800)
enrol/imsenterprise/lib.php

index b04b7f7..ace7435 100644 (file)
@@ -360,7 +360,7 @@ function process_group_tag($tagcontents) {
                 } else {
                     // Set shortname to description or description to shortname if one is set but not the other.
                     $nodescription = !isset($group->description);
-                    $noshortname = !isset($group->shortname);
+                    $noshortname = !isset($group->shortName);
                     if ( $nodescription && $noshortname) {
                         // If neither short nor long description are set let if fail
                         $this->log_line("Neither long nor short name are set for $coursecode");