Skip to content

Commit

Permalink
Merge pull request #241 from TripleSD/029
Browse files Browse the repository at this point in the history
Fix.
  • Loading branch information
AntonMZ authored May 26, 2020
2 parents 9d1b5c7 + 14fe8c3 commit abfb51d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/Sites/SitesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function update(UpdateSiteRequest $request, AdminSitesRepository $adminSi
return back()->withInput($fillable);
} else {
$check = new SitesChecker();
$check->handle($id);
$check->handle($id, 'web');
flash('Запись обновлена')->success();

return redirect()->route('admin.sites.index');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ public function up()
Schema::table(
'sites',
function (Blueprint $table) {
$table->integer('ping_threshold')->default(0)
->after('pending')->comment('Ping threshold (int) value');
$table->integer('ping_threshold')
->nullable()
->after('pending')
->comment('Ping threshold (int) value');
}
);
}
Expand Down

0 comments on commit abfb51d

Please sign in to comment.