summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlisps <stummp@loewen.de>2013-11-27 09:42:41 +0100
committerlisps <stummp@loewen.de>2013-11-27 09:42:41 +0100
commite175e163722d806ebf45aa1e9a7843c2391a5b20 (patch)
tree9a6e4104437f2b5bfa8a5471e0940c405e65d167
parent77450f4001bc641f7a724ae5e5c2f71b44c022d1 (diff)
downloadrpg-e175e163722d806ebf45aa1e9a7843c2391a5b20.tar.gz
rpg-e175e163722d806ebf45aa1e9a7843c2391a5b20.tar.bz2
fix indent
-rw-r--r--inc/media.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/media.php b/inc/media.php
index 390cd3488..12db36841 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -1800,7 +1800,7 @@ function media_resize_image($file, $ext, $w, $h=0){
if($info == false) return $file; // that's no image - it's a spaceship!
if(!$h) $h = round(($w * $info[1]) / $info[0]);
- if(!$w) $w = round(($h * $info[0]) / $info[1]);
+ if(!$w) $w = round(($h * $info[0]) / $info[1]);
// we wont scale up to infinity
if($w > 2000 || $h > 2000) return $file;