Bugfix Cover thumb sizes

The configured cover thumb were not considered on the members page.
This commit is contained in:
purplewhite
2015-12-29 11:56:01 +01:00
parent ae830c602b
commit 9fa189cadb
+4 -2
View File
@@ -220,10 +220,12 @@
<?php if ($cover_photos) {
$sizes = um_get_option('cover_thumb_sizes');
if ( $ultimatemember->mobile->isTablet() ) {
$cover_size = 600;
$cover_size = $sizes[1];
} else {
$cover_size = 300;
$cover_size = $sizes[0];
}
?>