From 938a2e7de2bc4e7875ffb7922a9111d8faa2b767 Mon Sep 17 00:00:00 2001 From: Linwood-F Date: Sun, 9 Aug 2015 20:14:33 -0400 Subject: [PATCH] Fix bug report on 100% scale --- web/views/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/views/image.php b/web/views/image.php index 2885711a1..38b17b010 100644 --- a/web/views/image.php +++ b/web/views/image.php @@ -95,7 +95,7 @@ if( !empty($_REQUEST['height']) ) if ( $errorText ) Error( $errorText ); else - if( $scale==100 && $width==0 && $height==0 ) + if( $scale==0 && $width==0 && $height==0 ) readfile( ZM_DIR_EVENTS.'/'.$path ); else {