Skip to content

Commit

Permalink
Merge tag '4.0.5'
Browse files Browse the repository at this point in the history
Hotfix: Database Sync

# gpg: Signature made 02/14/21 22:49:58 Mitteleuropäische Zeit
# gpg:                using RSA key B06DF7AFF2B1021D4A208E5A0996C776A7B3744E
# gpg: Good signature from "Stefan Heimes <[email protected]>" [ultimate]
  • Loading branch information
stefanheimes committed Feb 14, 2021
2 parents b8d98a1 + c0a172e commit a4fa516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ public static function getFormatedCompareList(
if (is_array($arrHiddenTables) && count((array)$arrHiddenTables) != 0) {
foreach ($arrSourceTables as $key => $value) {
if (in_array($key, $arrHiddenTables)
|| (is_array($arrAllowedTables) && in_array($key, $arrAllowedTables))) {
|| (is_array($arrAllowedTables) && !in_array($key, $arrAllowedTables))) {
unset($arrSourceTables[$key]);
}
}

foreach ($arrDesTables as $key => $value) {
if (in_array($key, $arrHiddenTables)
|| (is_array($arrAllowedTables) && in_array($key, $arrAllowedTables))) {
|| (is_array($arrAllowedTables) && !in_array($key, $arrAllowedTables))) {
unset($arrDesTables[$key]);
}
}
Expand Down

0 comments on commit a4fa516

Please sign in to comment.