Skip to content

Commit

Permalink
Fixed typo causing mysql fail on install without prefix. MDL-8203
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jan 16, 2007
1 parent a7f7e52 commit b6fd063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
error("The PHP server variable 'file_uploads' is not turned On - $documentationlink");
}

if (empty($CFG->prefix) && $CFG->family != 'mysql') { //Enforce prefixes for everybody but mysql
if (empty($CFG->prefix) && $CFG->dbfamily != 'mysql') { //Enforce prefixes for everybody but mysql
error('$CFG->prefix can\'t be empty for your target DB (' . $CFG->dbtype . ')');
}

Expand Down

0 comments on commit b6fd063

Please sign in to comment.