Skip to content

Commit c8288b4

Browse files
committed
Merge branch 'refs/heads/develop'
2 parents 1ff93f6 + dc5ad87 commit c8288b4

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

app/controllers/admin/LicensesController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public function postCheckin($seatId)
312312
if (is_null($licenseseat = LicenseSeat::find($seatId)))
313313
{
314314
// Redirect to the asset management page with error
315-
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/assets/message.not_found'));
315+
return Redirect::to('admin/licenses')->with('error', Lang::get('admin/licenses/message.not_found'));
316316
}
317317

318318
$logaction = new Actionlog();
@@ -331,11 +331,11 @@ public function postCheckin($seatId)
331331
$log = $logaction->logaction('checkin from');
332332

333333
// Redirect to the new asset page
334-
return Redirect::to("admin/licenses")->with('success', Lang::get('admin/licenses/message.checkout.success'));
334+
return Redirect::to("admin/licenses")->with('success', Lang::get('admin/licenses/message.checkin.success'));
335335
}
336336

337337
// Redirect to the asset management page with error
338-
return Redirect::to("admin/licenses")->with('error', Lang::get('admin/licenses/message.checkout.error'));
338+
return Redirect::to("admin/licenses")->with('error', Lang::get('admin/licenses/message.checkin.error'));
339339
}
340340

341341
/**

app/lang/en/admin/licenses/message.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
'checkout' => array(
2626
'error' => 'There was an issue checking out the license. Please try again.',
2727
'success' => 'The license was checked out successfully'
28-
)
28+
),
29+
30+
'checkin' => array(
31+
'error' => 'There was an issue checking in the license. Please try again.',
32+
'success' => 'The license was checked in successfully'
33+
),
2934

3035
);

0 commit comments

Comments
 (0)