Make Browse and Search always active for views in db structure view
This commit is contained in:
parent
423b45f6b2
commit
7ac599da26
@ -255,7 +255,7 @@ foreach ($tables as $keyname => $each_table) {
|
||||
$hidden_fields[] = '<input type="hidden" name="views[]" value="' . htmlspecialchars($each_table['TABLE_NAME']) . '" />';
|
||||
}
|
||||
|
||||
if ($each_table['TABLE_ROWS'] > 0) {
|
||||
if ($each_table['TABLE_ROWS'] > 0 || $table_is_view) {
|
||||
$browse_table = '<a href="sql.php?' . $tbl_url_query . '&pos=0">' . $titles['Browse'] . '</a>';
|
||||
$search_table = '<a href="tbl_select.php?' . $tbl_url_query . '">' . $titles['Search'] . '</a>';
|
||||
$browse_table_label = '<a href="sql.php?' . $tbl_url_query . '&pos=0">' . $truename . '</a>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user