From 6b4f751e4107e69850199a6471b9a34254caad6c Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 19 Jan 2006 15:39:29 +0000 Subject: fixed bug #1409972 PHP 5.1.2 compatibility --- pdf_schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf_schema.php') diff --git a/pdf_schema.php b/pdf_schema.php index 811faf2c9c..2db981a8f4 100644 --- a/pdf_schema.php +++ b/pdf_schema.php @@ -1293,7 +1293,7 @@ function PMA_RT_DOC($alltables) $type = $row['Type']; // reformat mysql query output - staybyte - 9. June 2001 // loic1: set or enum types: slashes single quotes inside options - if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp = array())) { + if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp)) { $tmp[2] = substr(preg_replace("@([^,])''@", "\\1\\'", ',' . $tmp[2]), 1); $type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')'; $type_nowrap = ''; -- cgit v1.2.3