X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fmysqlschema.php;h=f9552c1dcdefd5cef37c8d6ad69ab59aaf18cb2a;hb=698f5c7a20d5792b629404ce513d2fa2c2bab907;hp=464c718f99754da08809b9f356d1f29c37a57f93;hpb=2ba36fc2428ed41d74e123d49de38accc48415e3;p=quix0rs-gnu-social.git diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index 464c718f99..f9552c1dcd 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -333,7 +333,7 @@ class MysqlSchema extends Schema } if (empty($name)) { - $name = "$table_".implode("_", $columnNames)."_idx"; + $name = "{$table}_".implode("_", $columnNames)."_idx"; } $res = $this->conn->query("ALTER TABLE $table ".