From ffdffb3e1a7711c962ddbb233b84063abc407de6 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 29 Aug 2007 03:14:14 +0000 Subject: fixed a small bug. --- framework/Web/UI/WebControls/TCaptcha.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'framework/Web') diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php index 921881d8..9f4cee08 100644 --- a/framework/Web/UI/WebControls/TCaptcha.php +++ b/framework/Web/UI/WebControls/TCaptcha.php @@ -39,7 +39,6 @@ class TCaptcha extends TImage { const MIN_TOKEN_LENGTH=4; const MAX_TOKEN_LENGTH=40; - const MIN_PUBLIC_KEY=6; public function onInit($param) { @@ -121,8 +120,6 @@ class TCaptcha extends TImage */ public function setPublicKey($value) { - if(strlen($value)setViewState('PublicKey',$value,''); } -- cgit v1.2.3