patch #1253465, avoid error messages for unset variables in PHP functions that require a parameter passed by reference

This commit is contained in:
Marc Delisle
2005-08-14 21:34:01 +00:00
parent 80aecf6518
commit 7cf7ada8ac
8 changed files with 20 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ function PMA_getAvailableMIMEtypes() {
@ksort($filestack);
foreach ($filestack AS $key => $file) {
if (preg_match('|^.*__.*\.inc\.php(3?)$|', trim($file), $match)) {
if (preg_match('|^.*__.*\.inc\.php(3?)$|', trim($file), $match = array())) {
// File contains transformation functions.
$base = explode('__', str_replace('.inc.php' . $match[1], '', $file));