mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
One more use of getTableName() added.
This commit is contained in:
parent
9af19c728d
commit
512a237ff6
@ -560,7 +560,7 @@ class XMLDBgenerator {
|
||||
$fieldname = $this->getEncQuoted($xmldb_field->getName());
|
||||
|
||||
/// Build de alter sentence using the alter_column_sql template
|
||||
$alter = str_replace('TABLENAME', $this->getEncQuoted($this->prefix . $xmldb_table->getName()), $this->alter_column_sql);
|
||||
$alter = str_replace('TABLENAME', $this->getTableName($xmldb_table), $this->alter_column_sql);
|
||||
$alter = str_replace('COLUMNSPECS', $this->getFieldSQL($xmldb_field, $this->alter_column_skip_type,
|
||||
$this->alter_column_skip_default,
|
||||
$this->alter_column_skip_notnull), $alter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user