fixed bug: master opd

This commit is contained in:
2026-09-06 14:23:24 +07:00
parent 576b7c5ede
commit 8d221af085
2 changed files with 105 additions and 46 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ if ( $data == "grup-detail" ) {
} else if ( $data == "detail" ) {
$tcari = trim(Param::Get("Cari_Grup"));
$tsql .= ($tcari=="") ? "" : " WHERE Nama_Grup LIKE '%".$tcari."%'";
$tsql = ($tcari=="") ? "" : " WHERE Nama_Grup LIKE '%".$tcari."%'";
$obj = new Table($db);
$obj->set_query("SELECT *,DATE_FORMAT(DateStamp,'%d-%m-%Y %H:%i:%s') DateStamp2,IF(Grup_MenuID=1,0,1) IDel FROM app_menu_grup".$tsql);