Merge branch 'uat' of bitbucket.org:venbainformationtechnology/vb_book into uat
This commit is contained in:
commit
5de846a77d
@ -162,7 +162,7 @@ class Books extends BaseController
|
|||||||
if ($existing_image_id) {
|
if ($existing_image_id) {
|
||||||
$BooksModel->db->table('book_images')
|
$BooksModel->db->table('book_images')
|
||||||
->where(['book_img_id' => $existing_image_id, 'book_id' => $book_id])
|
->where(['book_img_id' => $existing_image_id, 'book_id' => $book_id])
|
||||||
->update(['isactive' => 0, 'updated_by' => (int)$session_uid]);
|
->delete();
|
||||||
$book_images_affectedRows = $BooksModel->db->affectedRows();
|
$book_images_affectedRows = $BooksModel->db->affectedRows();
|
||||||
$this->logger->info("Books: Image has been updated successfully. Updated Book Image ID = " . $existing_image_id . " Aff " . $book_images_affectedRows);
|
$this->logger->info("Books: Image has been updated successfully. Updated Book Image ID = " . $existing_image_id . " Aff " . $book_images_affectedRows);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user