1.0.8.10 Questions / Comments / Concerns

Ask the community for help and support.
ecartz
Lead Developer
Lead Developer
Posts: 2656
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 182 times

Re: 1.0.8.10 Questions / Comments / Concerns

Post by ecartz »

cristiangliga wrote: Sun Feb 13, 2022 1:06 am Cannot use empty array elements in arrays in /.../admin/includes/actions/reviews/views/save.php on line 43
Change that line to

Code: Select all

          echo (new Tickable('reviews_rating', ['value' => $i, 'class' => 'form-check-input', 'id' => "rating_$i"], 'radio'))->tick($i == ($rInfo->reviews_rating ?? 5));
For the other error, change line 73 of admin/includes/actions/reviews/views/default.php to

Code: Select all

 WHERE r.reviews_id = %d

Tags:
User avatar
cristiangliga
VIP Member
VIP Member
Posts: 9
Joined: Tue Feb 09, 2021 7:19 am

Re: 1.0.8.10 Questions / Comments / Concerns

Post by cristiangliga »

Thank you. @ecartz!
Post Reply