developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 13 years ago
Closed 13 years ago
#544 closed bug (fixed)
getBuilder on an undefined variable crash (quitely)
Reported by: | bastnic | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.1 beta 1 |
Component: | jelix:plugins | Version: | trunk |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
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 (2)
comment:1 Changed 13 years ago by bastnic
comment:2 Changed 13 years ago by laurentj
- Resolution set to fixed
- Status changed from new to closed
Effectivement, corrigé.
Note: See
TracTickets for help on using
tickets.
Entre ta correction sur block.form.php et la mienne sur cfunction.formfull.php, je dirais que l'on peut fermer ce ticket.