Skip to content

Commit

Permalink
Provide ImageId for delMediaById()
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Apr 2, 2017
1 parent f22c1b1 commit 0b630a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/user/views/panel/treatgallery.php
Expand Up @@ -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())): ?>
Expand Down

0 comments on commit 0b630a9

Please sign in to comment.