diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2005-12-08 15:37:38 +0300 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2005-12-08 15:37:38 +0300 |
commit | fe8553fa7b8423f428edeec5c01589e5f90f39d2 (patch) | |
tree | 94a393622a22e6efa4eda7af89ef442319d45356 /pdf_schema.php | |
parent | c0966e3ad02529f4228f0bbe9257eb1bb31543b9 (diff) |
removed PMA_isInto(), deprecated by in_array()
Diffstat (limited to 'pdf_schema.php')
-rw-r--r-- | pdf_schema.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf_schema.php b/pdf_schema.php index 940d0de4e6..9f106b7fd4 100644 --- a/pdf_schema.php +++ b/pdf_schema.php @@ -290,7 +290,7 @@ class PMA_PDF extends PMA_FPDF echo "\n"; require_once('./libraries/footer.inc.php'); - } // end of the "PMA_PDF_die()" function + } // end of the "PMA_PDF_die()" function /** @@ -645,7 +645,7 @@ class PMA_RT_Table // loic1 : PHP3 fix // if (in_array($field, $this->primary)) { if ($setcolor) { - if (PMA_isInto($field, $this->primary) != -1) { + if ( in_array($field, $this->primary) ) { $pdf->SetFillColor(215, 121, 123); } if ($field == $this->displayfield) { @@ -1200,7 +1200,7 @@ class PMA_RT // (do not use array_search() because we would have to // to do a === FALSE and this is not PHP3 compatible) - if (PMA_isInto($rel['foreign_table'], $alltables)> -1) { + if ( in_array($rel['foreign_table'], $alltables) ) { $this->PMA_RT_addRelation($one_table , $master_field, $rel['foreign_table'], $rel['foreign_field']); } |