summaryrefslogtreecommitdiff
path: root/modules/image_block
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image_block')
-rw-r--r--modules/image_block/views/image_block_block.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/image_block/views/image_block_block.html.php b/modules/image_block/views/image_block_block.html.php
index 2a57c395..6f68e5b8 100644
--- a/modules/image_block/views/image_block_block.html.php
+++ b/modules/image_block/views/image_block_block.html.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? foreach ($items as $item): ?>
<div class="g-image-block">
- <a href="<?= $item->url() ?>">
+ <a href="<?= url::site("image_block/random/" . $item->id); ?>">
<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
</a>
</div>