diff --git a/e107_handlers/e_db_pdo_class.php b/e107_handlers/e_db_pdo_class.php index ea7f5bbe1..bf7669b7c 100644 --- a/e107_handlers/e_db_pdo_class.php +++ b/e107_handlers/e_db_pdo_class.php @@ -2268,7 +2268,7 @@ class e_db_pdo implements e_db $fieldList = $fields; } - if(empty($fields)) + if(empty($fieldList)) { $this->mysqlLastErrText = "copyRow \$fields list was empty"; return false;