Skip to content

Commit

Permalink
Fix #13488 - Action buttons on join
Browse files Browse the repository at this point in the history
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
  • Loading branch information
yashrajbothra authored and williamdes committed Feb 9, 2021
1 parent 620280e commit 64761d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/classes/Sql.php
Expand Up @@ -1514,9 +1514,9 @@ private function getQueryResponseForResultsReturned(
}
}

if ($analyzed_sql_results['join']
|| $analyzed_sql_results['is_subquery']
|| count($analyzed_sql_results['select_tables']) !== 1
if (($analyzed_sql_results['join']
|| $analyzed_sql_results['is_subquery'])
&& count($analyzed_sql_results['select_tables']) !== 1
) {
$just_one_table = false;
}
Expand Down

0 comments on commit 64761d5

Please sign in to comment.