dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #153 path by <stehan dot walter at epfl dot ch>
[lhc/web/wiklou.git]
/
includes
/
Linker.php
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
45c3029
..
76ddde2
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-489,7
+489,7
@@
class Linker {
$boxheight = $height;
$thumbUrl = $url;
} else {
- $h =
intval
( $height/($width/$boxwidth) );
+ $h =
round
( $height/($width/$boxwidth) );
$oboxwidth = $boxwidth + 2;
if ( ( ! $boxheight === false ) && ( $h > $boxheight ) )
{