We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff13e3 commit 91433ccCopy full SHA for 91433cc
interface/web/sites/database_edit.php
@@ -231,7 +231,7 @@ function onBeforeUpdate() {
231
232
//* Prevent that the database name and charset is changed
233
$old_record = $app->tform->getDataRecord($this->id);
234
- if($old_record["database_name"] != $restriction . $this->dataRecord["database_name"]) {
+ if($old_record["database_name"] != $dbname_prefix . $this->dataRecord["database_name"]) {
235
$app->tform->errorMessage .= $app->tform->wordbook["database_name_change_txt"].'<br />';
236
}
237
if($old_record["database_charset"] != $this->dataRecord["database_charset"]) {
0 commit comments