From: stronk7 Date: Tue, 16 Jan 2007 17:41:58 +0000 (+0000) Subject: Fixed typo causing mysql fail on install without prefix. MDL-8203 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b6fd063054c8225af2954ed7013b28777063f5a6;p=moodle.git Fixed typo causing mysql fail on install without prefix. MDL-8203 --- diff --git a/admin/index.php b/admin/index.php index 1bc4d35056..a7473bf662 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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 . ')'); }