Line 119 of admin/doapproveusers.php has

admin_log("USER_APPROVED", '$uid');

that should be:

admin_log("USER_APPROVED", "$uid");