Revision cb575f7d
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
1596 | 1596 |
# prepare meta information for template introspection |
1597 | 1597 |
$form->{template_meta} = { |
1598 | 1598 |
formname => $form->{formname}, |
1599 |
language => SL::DB::Manager::Language->find_by_or_create(id => $form->{language_id}), |
|
1599 |
language => SL::DB::Manager::Language->find_by_or_create(id => $form->{language_id} || undef),
|
|
1600 | 1600 |
format => $form->{format}, |
1601 | 1601 |
media => $form->{media}, |
1602 | 1602 |
extension => $extension, |
1603 |
printer => SL::DB::Manager::Printer->find_by_or_create(id => $form->{printer_id}), |
|
1603 |
printer => SL::DB::Manager::Printer->find_by_or_create(id => $form->{printer_id} || undef),
|
|
1604 | 1604 |
today => DateTime->today, |
1605 | 1605 |
}; |
1606 | 1606 |
|
Auch abrufbar als: Unified diff
Zwei Datenbankwarnungen vermeiden: cannot convert '' to number