aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-06-25 13:57:51 +0200
committerGitHub <noreply@github.com>2020-06-25 13:57:51 +0200
commit15d31c39eceee9ab15b15606c559112363f7ca3f (patch)
treef58a23d7062079ac53b4252ae58a05e2bbbaa1ff /index.php
parentd63ff87a009313141ae684ec447b902562ff6ee7 (diff)
parent2458791e4e1c3b2c20913cb4b38ec34385fb336e (diff)
downloadShaarli-15d31c39eceee9ab15b15606c559112363f7ca3f.tar.gz
Shaarli-15d31c39eceee9ab15b15606c559112363f7ca3f.tar.zst
Shaarli-15d31c39eceee9ab15b15606c559112363f7ca3f.zip
Merge pull request #1426 from aguytech/v0.11-fixesv0.11
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9e473936..6ec5507e 100644
--- a/index.php
+++ b/index.php
@@ -465,7 +465,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager, $loginManager)
465 // Description: 836 characters gives roughly 342 pixel height. 465 // Description: 836 characters gives roughly 342 pixel height.
466 // This is not perfect, but it's usually OK. 466 // This is not perfect, but it's usually OK.
467 $length = strlen($link['title']) + (342 * strlen($link['description'])) / 836; 467 $length = strlen($link['title']) + (342 * strlen($link['description'])) / 836;
468 if ($link['thumbnail']) { 468 if (!empty($link['thumbnail'])) {
469 $length += 100; // 1 thumbnails roughly takes 100 pixels height. 469 $length += 100; // 1 thumbnails roughly takes 100 pixels height.
470 } 470 }
471 // Then put in column which is the less filled: 471 // Then put in column which is the less filled: