From ec5bdf87131383201dad0f1c8bc3af9eeb6d7caa Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 15 Feb 2011 23:27:38 +0530 Subject: [PATCH] Bug #3180940 - Table with numeric name not shown --- libraries/blobstreaming.lib.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libraries/blobstreaming.lib.php b/libraries/blobstreaming.lib.php index 28b4ca621..4efaf34bf 100644 --- a/libraries/blobstreaming.lib.php +++ b/libraries/blobstreaming.lib.php @@ -471,13 +471,9 @@ function PMA_BS_SetContentType($db_name, $bsTable, $blobReference, $contentType) //------------ function PMA_BS_IsHiddenTable($table) { - switch ($table) { - case 'pbms_repository' : - case 'pbms_reference' : - case 'pbms_metadata' : - case 'pbms_metadata_header' : - case 'pbms_dump' : - return TRUE; + if ($table === 'pbms_repository' || $table === 'pbms_reference' || $table === 'pbms_metadata' + || $table === 'pbms_metadata_header' || $table === 'pbms_dump') { + return TRUE; } return FALSE; }