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 c51ad62 commit 651f654Copy full SHA for 651f654
classes/ModelModel.php
@@ -236,7 +236,10 @@ public function getDatabaseTableOptions()
236
{
237
$pluginCode = $this->getPluginCodeObj()->toCode();
238
239
- $tables = DatabaseTableModel::listPluginTables($pluginCode);
+ $tables = array_map(function ($item) {
240
+ return $item['table'];
241
+ }, DatabaseTableModel::listPluginTables($pluginCode));
242
+
243
return array_combine($tables, $tables);
244
}
245
0 commit comments