Skip to content

Commit

Permalink
Update stuff so txts get sent properly
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerly committed Nov 28, 2012
1 parent 27462c8 commit d918bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/job_recommendation/models.py
Expand Up @@ -257,7 +257,7 @@ def create_recommendation(sender, **kwargs):
job = kwargs['job']

if getattr(settings, 'DEMO_ENABLED', False):
applicants = ApplicantProfile.objects.all().filter(mobile_number=job.employer.phone_number)
applicants = ApplicantProfile.objects.all().filter(mobile_number=job.employer.business_phone_number)
for applicant in applicants:
recommendation = JobRecommendation(applicant=applicant, job=job, state=JobRecommendation.NEW_REC_NOT_SENT)
recommendation.save()
Expand Down

0 comments on commit d918bbe

Please sign in to comment.