Skip to content

Commit

Permalink
Minor fix for uninitialized vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tithugues committed Nov 11, 2013
1 parent af84abf commit 927ba37
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions libraries/DisplayResults.class.php
Expand Up @@ -5426,18 +5426,18 @@ private function _handleNonPrintableContents(

$result = '[' . $category;

if (is_null($content)) {

$result .= ' - NULL';
$size = 0;

} elseif (isset($content)) {
if (isset($content)) {

$size = strlen($content);
$display_size
= PMA_Util::formatByteDown($size, 3, 1);
= PMA_Util::formatByteDown($size, 3, 1);
$result .= ' - '. $display_size[0] . ' ' . $display_size[1];

} else {

$result .= ' - NULL';
$size = 0;

}

$result .= ']';
Expand Down

0 comments on commit 927ba37

Please sign in to comment.