Permalink
Browse files

Provide ImageId for delMediaById()

  • Loading branch information...
blackcoder87 committed Apr 2, 2017
1 parent f22c1b1 commit 0b630a9769500edb9393228adbc7c5bf69193281
Showing with 1 addition and 1 deletion.
  1. +1 −1 application/modules/user/views/panel/treatgallery.php
@@ -38,7 +38,7 @@
<tbody>
<?php foreach ($this->get('image') as $image): ?>
<tr>
<td><?=$this->getDeleteCheckbox('check_gallery', $image->getId()) ?></td>
<td><?=$this->getDeleteCheckbox('check_gallery', $image->getImageId()) ?></td>
<td><?=$this->getEditIcon(['action' => 'treatgalleryimage', 'gallery' => $this->getRequest()->getParam('id'), 'id' => $image->getId()]) ?></td>
<td><?=$this->getDeleteIcon(['action' => 'delgalleryimage', 'gallery' => $this->getRequest()->getParam('id'), 'id' => $image->getImageId()]) ?></td>
<?php if (file_exists($image->getImageThumb())): ?>

0 comments on commit 0b630a9

Please sign in to comment.