chore: change how linkedin information is stored (#2200)

This commit is contained in:
Régis Freyd
2018-12-24 21:27:21 -05:00
committed by GitHub
parent 6f5d0c20fd
commit acfb216c86
21 changed files with 274 additions and 61 deletions
@@ -410,11 +410,9 @@ class ContactsController extends Controller
{
$job = $request->input('job');
$company = $request->input('company');
$linkedin = $request->input('linkedin');
$contact->job = ! empty($job) ? $job : null;
$contact->company = ! empty($company) ? $company : null;
$contact->linkedin_profile_url = ! empty($linkedin) ? $linkedin : null;
$contact->save();