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:
authorMarc Delisle <marc@infomarc.info>2005-08-15 01:34:01 +0400
committerMarc Delisle <marc@infomarc.info>2005-08-15 01:34:01 +0400
commit7cf7ada8aca5152a932efd8c9f729d13f871db80 (patch)
treeab5d1f2a3ba4617978f158328bab33ea8514fd90 /pdf_schema.php
parent80aecf6518a7b12a889957101f2166ba32886ac1 (diff)
patch #1253465, avoid error messages for unset variables in PHP functions that require a parameter passed by reference
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 038f23b61d..fd749b5e8b 100644
--- a/pdf_schema.php
+++ b/pdf_schema.php
@@ -1439,7 +1439,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)) {
+ if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp = array())) {
$tmp[2] = substr(preg_replace("@([^,])''@", "\\1\\'", ',' . $tmp[2]), 1);
$type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')';
$type_nowrap = '';