Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2006-01-19 18:39:29 +0300
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2006-01-19 18:39:29 +0300
commit6b4f751e4107e69850199a6471b9a34254caad6c (patch)
tree2f6018a6a2de2b485391e42595570767149d9d9f /pdf_schema.php
parentbcfcf84c8b2ecd246651af49428ddadb500753cb (diff)
fixed bug #1409972 PHP 5.1.2 compatibility
Diffstat (limited to 'pdf_schema.php')
-rw-r--r--pdf_schema.php2
1 files changed, 1 insertions, 1 deletions
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 = '';