removed repeated code from donorhome.php