Bug #3180940 - Table with numeric name not shown

This commit is contained in:
Madhura Jayaratne
2011-02-15 23:27:38 +05:30
parent 651b357f8a
commit ec5bdf8713

View File

@@ -471,13 +471,9 @@ function PMA_BS_SetContentType($db_name, $bsTable, $blobReference, $contentType)
//------------ //------------
function PMA_BS_IsHiddenTable($table) function PMA_BS_IsHiddenTable($table)
{ {
switch ($table) { if ($table === 'pbms_repository' || $table === 'pbms_reference' || $table === 'pbms_metadata'
case 'pbms_repository' : || $table === 'pbms_metadata_header' || $table === 'pbms_dump') {
case 'pbms_reference' : return TRUE;
case 'pbms_metadata' :
case 'pbms_metadata_header' :
case 'pbms_dump' :
return TRUE;
} }
return FALSE; return FALSE;
} }