I had a go at this but there seems to be no doadopt.php in 1.3.4.
I found something similar to the code inside classes/class_adoptable.php
PHP Code:
public function getGender(){
$genders = array('f', 'm');
$rand = rand(0,1);
return $genders[$rand];
}
But there was no:
// Adoption complete, show the user a confirmation screen...
I kept looking and finally found something close to that line in view/adoptview.php
I'm not sure if the code should go here or in class_adoptable.