|
@@ -8,13 +8,13 @@ |
|
|
block discarded – undo |
|
8
|
8
|
$beUsersSiteFcn = function() { |
|
9
|
9
|
|
|
10
|
10
|
$table = 'mshop_locale_site'; |
|
11
|
|
- $tableColumns = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Database\ConnectionPool::class) |
|
12
|
|
- ->getConnectionForTable($table) |
|
|
11
|
+ $tableColumns = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( \TYPO3\CMS\Core\Database\ConnectionPool::class ) |
|
|
12
|
+ ->getConnectionForTable( $table ) |
|
13
|
13
|
->getSchemaManager() |
|
14
|
|
- ->listTableColumns($table); |
|
|
14
|
+ ->listTableColumns( $table ); |
|
15
|
15
|
|
|
16
|
16
|
$list = [['', '']]; |
|
17
|
|
- if (empty($tableColumns) !== true) { |
|
|
17
|
+ if( empty( $tableColumns ) !== true ) { |
|
18
|
18
|
$sql = 'SELECT "siteid", "label", "nleft", "nright" FROM "' . $table . '" ORDER BY "nleft"'; |
|
19
|
19
|
$dbm = \Aimeos\Aimeos\Base::getContext( \Aimeos\Aimeos\Base::getConfig() )->db(); |
|
20
|
20
|
|
Please login to merge, or discard this patch.