Reviews Set Flag error
Posted: Wed Apr 13, 2022 5:59 am
Hi ;
Using version 1.0.8.13
I fixed the sql error for display of reviews not showing in admin by removing the " on line 73;
But the set flag issue is still remaining and does not fix -Nothing happens when we set flag to red or green in reviews-
Below is the related code to it:-
Help shall be deeply appreciated
Kind Regds./
radhavallabh
Using version 1.0.8.13
I fixed the sql error for display of reviews not showing in admin by removing the " on line 73;
But the set flag issue is still remaining and does not fix -Nothing happens when we set flag to red or green in reviews-
Below is the related code to it:-
Code: Select all
$flag_link = (clone $row['link'])->set_parameter('action', 'set_flag');
return ($row['reviews_status'] == '1')
? '<i class="fas fa-check-circle text-success"></i> <a href="' . $flag_link->set_parameter('flag', '0') . '"><i class="fas fa-times-circle text-muted"></i></a>'
: '<a href="' . $flag_link->set_parameter('flag', '1') . '"><i class="fas fa-check-circle text-muted"></i></a> <i class="fas fa-times-circle text-danger"></i>';
},Kind Regds./
radhavallabh