* #29677: tweaking captcha in infomail
authorivankartolo <ivankartolo@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 31 Oct 2011 09:52:41 +0000 (09:52 +0000)
committerivankartolo <ivankartolo@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 31 Oct 2011 09:52:41 +0000 (09:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/direct_mail_subscription/trunk@53564 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
fe_adminLib.inc
pi/fe_admin_dmailsubscrip.tmpl

index fad6680..dfbaf5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2011-10-31 Ivan Kartolo <ivan.kartolo@dkd.de>
+       * #29677: tweaking captcha in infomail
+
 2011-10-28 Ivan Kartolo <ivan.kartolo@dkd.de>
        * #29677: fix captcha checking
        * compatibility to 4.6
index a04cb1c..b1d8945 100644 (file)
@@ -258,7 +258,7 @@ class user_feAdmin  {
                        $this->deleteRecord();
                }
                        // If incoming data is seen...
-               if (is_array($this->dataArr))   {
+               if (is_array($this->dataArr) && count(t3lib_div::removeArrayEntryByValue(array_keys($this->dataArr), 'captcha')))       {
                                // Evaluation of data:
                        $this->parseValues();
                        $this->overrideValues();
index dc75e50..1cc344e 100644 (file)
@@ -606,7 +606,7 @@ If you cannot accept the subscription (eg. if somebody else subscribed you!) jus
 ###THIS_URL######FORM_URL###1=1###SYS_SETFIXED_DELETE###
 
 If you wish to edit your personal data, click this link:
-###THIS_URL######FORM_URL###cmd=edit&aC=###SYS_AUTHCODE###&rU=###FIELD_uid###
+###THIS_URL######FORM_URL###&cmd=edit&aC=###SYS_AUTHCODE###&rU=###FIELD_uid###
 
 <!--###SUB_RECORD###-->
 <!-- ###EMAIL_TEMPLATE_CREATE_SAVED### end-->