]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/mysqlschema.php
Merge branch '0.9.x'
[quix0rs-gnu-social.git] / lib / mysqlschema.php
index 464c718f99754da08809b9f356d1f29c37a57f93..f9552c1dcdefd5cef37c8d6ad69ab59aaf18cb2a 100644 (file)
@@ -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 ".