[TYPO3-core] RFC: #11019: User Setup Rewrite #4

Rupert Germann rupi at gmx.li
Sat May 9 17:52:36 CEST 2009


one more remark to the "foreach($d as $key => $value)" part:
that doesn't work at all!

checkbox values can never be disabled again if they are once set because a
checkbox which is not set will not be added to POSTvars when the Form is
submitted. And so this information will never reach $BE_USER->uc.

greets
rupert




Rupert Germann wrote:
> hi Steffen,
> 
> review continued:
> 
> 1. I have a problem with these lines (148)
> ...
> // save all submitted values if they are no array (arrays are with
> // table=be_users)
> foreach($d as $key => $value) {
>   if (!is_array($value)) {
>     $BE_USER->uc[$key] = $value;
>   }
> }
> 
>....



More information about the TYPO3-team-core mailing list