CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #25930

ErrorCheck "captcha" PHP error

Added by Reinhard Führicht about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2011-04-13
Priority:Must have Due date:
Assignee:Reinhard Führicht % Done:

100%

Category:-
Target version:Stable v1.0
Votes: 0

Description

The error check "captcha" checks

if ($captchaStr != $gp[$name] || empty(trim($gp[$name]))) {

Problem:

empty() cannot take return values of functions as argument.

Solution:

Replace empty() with strlen() or something similar.

Associated revisions

Revision 46481
Added by Reinhard Führicht about 2 years ago

Replaced empty() with strlen() in ErrorCheck_Captcha (fixes #25930)

Revision 46481
Added by Reinhard Führicht about 2 years ago

Replaced empty() with strlen() in ErrorCheck_Captcha (fixes #25930)

History

Updated by Reinhard Führicht about 2 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r46481.

Also available in: Atom PDF