Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Aug 17, 2016
2 parents c5d7a1f + 44821b9 commit 1601494
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/Models/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ public function checkOutToUser($user, $admin, $checkout_at = null, $expected_che
$this->last_checkout = $checkout_at;

$this->assigneduser()->associate($user);
$this->name = $name;

if($name != null)
{
$this->name = $name;
}

$settings = Setting::getSettings();

Expand Down

0 comments on commit 1601494

Please sign in to comment.