function validation($data, $files) { return true; // i was getting some errors ??? not sure ? (nadavkav) if (empty($data->extraonly)) { $errors = parent::validation($data, $files); if (0 == count($errors)) { return true; } else { return $errors; } } return true; }