select max(wr_m) max_m from payment where wr_code='' and replace(wr_gaeja,'-','')='' and wr_y =
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
error file : /board/adm/payment/list.php