diff --git a/open.php b/open.php
index 3292e8564900e9676784ca54dd0599e9e6f59d2c..4c740afeb91a40b4a5ac2b8de888d59f89fdcb73 100644
--- a/open.php
+++ b/open.php
@@ -26,7 +26,7 @@ if($_POST):
     } elseif($cfg->isCaptchaEnabled()) {
         if(!$_POST['captcha'])
             $errors['captcha']='Enter text shown on the image';
-        elseif(strcmp($_SESSION['captcha'],md5($_POST['captcha'])))
+        elseif(strcmp($_SESSION['captcha'], md5(strtoupper($_POST['captcha']))))
             $errors['captcha']='Invalid - try again!';
     }