Merge branch 'QA_3_3'
Conflicts: Documentation.html README libraries/Config.class.php translators.html
This commit is contained in:
@@ -110,6 +110,8 @@ $Id$
|
|||||||
- [relations] Dropped WYSIWYG-PDF configuration variable.
|
- [relations] Dropped WYSIWYG-PDF configuration variable.
|
||||||
- rfe #806035, #686260 [relations] Export relations to Dia, SVG and others
|
- rfe #806035, #686260 [relations] Export relations to Dia, SVG and others
|
||||||
|
|
||||||
|
3.3.7.0 (not yet released)
|
||||||
|
|
||||||
3.3.6.0 (not yet released)
|
3.3.6.0 (not yet released)
|
||||||
- bug #3033063 [core] Navi gets wrong db name
|
- bug #3033063 [core] Navi gets wrong db name
|
||||||
- bug #3031705 [core] Fix generating condition for real numbers by comparing
|
- bug #3031705 [core] Fix generating condition for real numbers by comparing
|
||||||
|
@@ -318,7 +318,7 @@ class PMA_Error extends PMA_Message
|
|||||||
if (in_array($function, $include_functions)) {
|
if (in_array($function, $include_functions)) {
|
||||||
echo PMA_Error::relPath($arg);
|
echo PMA_Error::relPath($arg);
|
||||||
} elseif (is_scalar($arg)) {
|
} elseif (is_scalar($arg)) {
|
||||||
echo gettype($arg) . ' ' . $arg;
|
echo gettype($arg) . ' ' . htmlspecialchars($arg);
|
||||||
} else {
|
} else {
|
||||||
echo gettype($arg);
|
echo gettype($arg);
|
||||||
}
|
}
|
||||||
|
@@ -317,6 +317,12 @@ function PMA_DBI_get_client_info()
|
|||||||
function PMA_DBI_getError($link = null)
|
function PMA_DBI_getError($link = null)
|
||||||
{
|
{
|
||||||
$GLOBALS['errno'] = 0;
|
$GLOBALS['errno'] = 0;
|
||||||
|
|
||||||
|
/* Treat false same as null because of controllink */
|
||||||
|
if ($link === false) {
|
||||||
|
$link = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (null === $link && isset($GLOBALS['userlink'])) {
|
if (null === $link && isset($GLOBALS['userlink'])) {
|
||||||
$link =& $GLOBALS['userlink'];
|
$link =& $GLOBALS['userlink'];
|
||||||
|
|
||||||
|
@@ -374,6 +374,11 @@ function PMA_DBI_getError($link = null)
|
|||||||
{
|
{
|
||||||
$GLOBALS['errno'] = 0;
|
$GLOBALS['errno'] = 0;
|
||||||
|
|
||||||
|
/* Treat false same as null because of controllink */
|
||||||
|
if ($link === false) {
|
||||||
|
$link = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (null === $link && isset($GLOBALS['userlink'])) {
|
if (null === $link && isset($GLOBALS['userlink'])) {
|
||||||
$link =& $GLOBALS['userlink'];
|
$link =& $GLOBALS['userlink'];
|
||||||
// Do not stop now. We still can get the error code
|
// Do not stop now. We still can get the error code
|
||||||
|
Reference in New Issue
Block a user