|
@@ -221,7 +221,7 @@ discard block |
|
|
block discarded – undo |
|
221
|
221
|
if ($file) { |
|
222
|
222
|
$photoId = Tools::randomString(); |
|
223
|
223
|
$value = '<a href = "' . $file->path . '" id="' . $photoId . '"><img src="' . $file->path . '?resize=60x120" /></a>'; |
|
224
|
|
- $value .='<script>inji.onLoad(function(){$("#' . $photoId . '").fancybox();});</script>'; |
|
|
224
|
+ $value .= '<script>inji.onLoad(function(){$("#' . $photoId . '").fancybox();});</script>'; |
|
225
|
225
|
} else { |
|
226
|
226
|
$value = '<img src="/static/system/images/no-image.png?resize=60x120" />'; |
|
227
|
227
|
} |
|
@@ -1287,7 +1287,7 @@ discard block |
|
|
block discarded – undo |
|
1287
|
1287
|
} else { |
|
1288
|
1288
|
$cols .= '*'; |
|
1289
|
1289
|
} |
|
1290
|
|
- $cols .=') as `count`' . (!empty($options['cols']) ? ',' . $options['cols'] : ''); |
|
|
1290
|
+ $cols .= ') as `count`' . (!empty($options['cols']) ? ',' . $options['cols'] : ''); |
|
1291
|
1291
|
$query->cols = $cols; |
|
1292
|
1292
|
if (!empty($options['group'])) { |
|
1293
|
1293
|
$query->group($options['group']); |
Please login to merge, or discard this patch.