Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6756460d35
@ -78,6 +78,7 @@ phpMyAdmin - ChangeLog
|
||||
- bug #4605 Unseen messages in tracking
|
||||
- bug #4606 Tracking report export as SQL dump does not work
|
||||
- bug #4607 Syntax error during db_copy operation
|
||||
- bug #4608 SELECT permission issues with relations and restricted access
|
||||
|
||||
4.2.12.0 (2014-11-20)
|
||||
- bug #4574 Blank/white page when JavaScript disabled
|
||||
|
||||
@ -1294,7 +1294,7 @@ function PMA_getForeignData(
|
||||
}
|
||||
}
|
||||
|
||||
$disp = $GLOBALS['dbi']->query(
|
||||
$disp = $GLOBALS['dbi']->tryQuery(
|
||||
$f_query_main . $f_query_from . $f_query_filter
|
||||
. $f_query_order . $f_query_limit
|
||||
);
|
||||
@ -1308,6 +1308,12 @@ function PMA_getForeignData(
|
||||
$disp_row[] = $single_disp_row;
|
||||
}
|
||||
@$GLOBALS['dbi']->freeResult($disp);
|
||||
} else {
|
||||
// Either no data in the foreign table or
|
||||
// user does not have select permission to foreign table/field
|
||||
// Show an input field with a 'Browse foreign values' link
|
||||
$disp_row = null;
|
||||
$foreign_link = true;
|
||||
}
|
||||
} else {
|
||||
$disp_row = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user