fixed bug #1966437 copy db broken

This commit is contained in:
Sebastian Mendel
2008-06-11 11:29:33 +00:00
parent 6f0f26fb9b
commit bd9ee5137b

View File

@@ -63,8 +63,9 @@ abstract class PMA_List extends ArrayObject
*/
public function exists()
{
$this_elements = $this->getArrayCopy();
foreach (func_get_args() as $result) {
if (! in_array($result, $this)) {
if (! in_array($result, $this_elements)) {
return false;
}
}