Fix for PHP < 5.5
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
e60278b414
commit
4c5592e632
@ -5172,7 +5172,10 @@ class PMA_DisplayResults
|
||||
}
|
||||
|
||||
/* Create link to download */
|
||||
if (! empty($this->__get('db')) && ! empty($meta->orgtable)) {
|
||||
|
||||
// in PHP < 5.5, empty() only checks variables
|
||||
$tmpdb = $this->__get('db');
|
||||
if (! empty($tmpdb) && ! empty($meta->orgtable)) {
|
||||
$result = '<a href="tbl_get_field.php'
|
||||
. PMA_URL_getCommon($url_params)
|
||||
. '" class="disableAjax">'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user