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