fixed bug #1966437 copy db broken
This commit is contained in:
@@ -63,8 +63,9 @@ abstract class PMA_List extends ArrayObject
|
|||||||
*/
|
*/
|
||||||
public function exists()
|
public function exists()
|
||||||
{
|
{
|
||||||
|
$this_elements = $this->getArrayCopy();
|
||||||
foreach (func_get_args() as $result) {
|
foreach (func_get_args() as $result) {
|
||||||
if (! in_array($result, $this)) {
|
if (! in_array($result, $this_elements)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user