Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1

This commit is contained in:
Weblate 2013-12-21 16:13:59 +01:00
commit 11ec79aedf
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog
- bug #2760 Warn about incomplete exports
- bug #4190 Fractional seconds cause row update even if the value is not changed
- bug #4170 Overflow scroll for table grid is not a good solution
- bug #2961 Relations settings not updated on config change
4.1.1.0 (2013-12-17)
- bug #4154 Error using UNION query

View File

@ -59,6 +59,10 @@ function PMA_queryAsControlUser($sql, $show_error = true, $options = 0)
*/
function PMA_getRelationsParam()
{
// avoid breakage if pmadb got unconfigured after login
if (empty($GLOBALS['cfg']['Server']['pmadb'])) {
unset($_SESSION['relation'][$GLOBALS['server']]);
}
if (empty($_SESSION['relation'][$GLOBALS['server']])) {
$_SESSION['relation'][$GLOBALS['server']] = PMA_checkRelationsParam();
}
@ -527,7 +531,7 @@ function PMA_checkRelationsParam()
) {
$cfgRelation['allworks'] = true;
}
error_log(var_export($cfgRelation, true));
return $cfgRelation;
} // end of the 'PMA_getRelationsParam()' function