Skip to content

Commit

Permalink
don't need to explicitly include method POST in make_form anymore since
Browse files Browse the repository at this point in the history
8c22cb1 - fixes #30
  • Loading branch information
Giraffaman committed Feb 24, 2024
1 parent 3ecacac commit f9ab94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/pr0booru/page.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function render(): void
if($deblog) { echo $this->make_logentry("user allowd to see stuff..."); }
$baseHref = get_base_href();
if($deblog) { echo $this->make_logentry($baseHref); }
$ratingCtrl = make_form(make_link($baseHref."rating/save_ratingView"), "POST", false, "rtngViewForm");
$ratingCtrl = make_form(make_link($baseHref."rating/save_ratingView"), false, "rtngViewForm");
# $ratingCtrl = make_form(make_link($baseHref."rating/save_ratingView"), "POST", false, "rtngViewForm", "return validateRatingViewForm();");
$ratingCtrl .= "<input type='hidden' name='id' value='".$user->id."'>";
$ratingCtrl .= $this->add_boolFromArray("ratings_default[]", "s", $userRatings, RatingsConfig::USER_DEFAULTS, "Sfw");
Expand Down

0 comments on commit f9ab94f

Please sign in to comment.