Ticket #544 (closed bug: fixed)

Opened 3 months ago

Last modified 3 months ago

getBuilder on an undefined variable crash (quitely)

Reported by: bastnic Assigned to:
Priority: normal Milestone: Jelix 1.1 beta 1
Component: jelix:plugins Version: trunk
Severity: normal Keywords:
Cc: Php version:
Review: Hosting Provider:
Documentation needed: 0 Blocking:

Description

Example :

    {if isset ($toto)}
        {form $toto, 'mymodule~default:index'}
            {ctrl_label 'what'} {ctrl_control 'what'}     
            {formsubmit}
        {/form}
    {/if}

even if $toto isn't set, the compiler tried to "getBuilder" on it.

Change History

04/24/08 02:07:09 changed by bastnic

Entre ta correction sur block.form.php et la mienne sur cfunction.formfull.php, je dirais que l'on peut fermer ce ticket.

05/04/08 23:26:26 changed by laurentj

  • status changed from new to closed.
  • resolution set to fixed.

Effectivement, corrigé.

Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed