Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Prophet731 committed Jul 3, 2016
2 parents 4672ae9 + 9f64a27 commit 5b49a28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/bfacp/Http/Controllers/Api/ReportsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public function putIndex()

if (Input::get('action') == 7) {
$maxDuration = Setting::where('setting_name',
'Maximum Temp-Ban Duration Minutes')->where('server_id', 1)->pluck('setting_value');
'Maximum Temp-Ban Duration Minutes')->where('server_id',
$newRecord->server_id)->pluck('setting_value');

$duration = Input::get('extras.tban.duration', $maxDuration);

Expand Down

0 comments on commit 5b49a28

Please sign in to comment.