Skip to content

Commit

Permalink
Update class-wp-odoo-form-integrator-admin.php
Browse files Browse the repository at this point in the history
php8 compatibility
cf. coderscom#3
  • Loading branch information
ygol authored Jan 16, 2024
1 parent 65b20cc commit 67edb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/class-wp-odoo-form-integrator-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public function display_plugin_integrated_forms_page() {
$result = $wpdb->get_row($sql);
$rec_count = $result->total;
if( isset($_GET{'pageno'} ) ) {
$page = $_GET{'pageno'}-1;
$page = $_GET['pageno']-1;
$offset = $rec_limit * $page ;
}else {
$page = 0;
Expand Down

0 comments on commit 67edb72

Please sign in to comment.