Mistři v programování na #hovnokod

PHP #4016

Toto už je fakt zlé

$this->log($user_profile, 'zle_registracie');
$this->log($this->UserProfile->id, 'zle_registracie');

if(empty($this->UserProfile->id)){
    $this->log($user_profile, 'fakt_zle_registracie');
    $this->log($this->UserProfile->invalidFields(), 'fakt_zle_registracie');
    $this->log($this->UserProfile->validationErrors, 'fakt_zle_registracie');
}

Anonymous,