Skip to content

Commit

Permalink
misc: Remove useless comment.
Browse files Browse the repository at this point in the history
Make CI happy.
  • Loading branch information
gyakkun committed Feb 12, 2020
1 parent 2643fa6 commit 089fad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Staff/PollController.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public function update(StorePoll $request, $id)

$poll->title = $request->input('title');

if($request->input('ip_checking')) {
if ($request->input('ip_checking')) {
$poll->ip_checking = true;
} else {
$poll->ip_checking = false;
}

if($request->input('multiple_choice')) {
if ($request->input('multiple_choice')) {
$poll->multiple_choice = true;
} else {
$poll->multiple_choice = false;
Expand Down
1 change: 0 additions & 1 deletion resources/views/Staff/poll/forms/update.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
+ langOption
+ options
+ ':</label>'
// + '<input readonly type="number" name="new-option-id[]" style="visibility: hidden" value="'+(-options)+'">'
+ '<input type="text" name="new-option-content[]" class="form-control" value="" required></div>';
$('.more-options').append(optionHTML);
});
Expand Down

0 comments on commit 089fad5

Please sign in to comment.