update
This commit is contained in:
@@ -696,8 +696,8 @@ class RequestLogController extends Controller
|
||||
]);
|
||||
|
||||
if ($affectedRows === 0) {
|
||||
$row['code_error'] = '500';
|
||||
$row['error'] = 'Gagal update karena data sudah ada ';
|
||||
$row['code_error'] = '200';
|
||||
$row['error'] = 'Tidak ada data yang diedit';
|
||||
$result_rows[] = $row;
|
||||
$failedRows[] = $row;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user