Closed Bug 570987 Opened 16 years ago Closed 16 years ago

Argument "" isn't numeric in numeric gt (>) at template/en/default/bug/field-label.html.tmpl line 34

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 4.0

People

(Reporter: timello, Assigned: timello)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Fix. (obsolete) — Splinter Review
Apache error log is complaining when rowspan is "" and it should be a numeric value.
Attachment #450145 - Flags: review?(LpSolit)
Comment on attachment 450145 [details] [diff] [review] Fix. >- [% IF rowspan > 0 %] rowspan="[% rowspan FILTER html %]"[% END %]> >+ [% IF rowspan && rowspan > 0 %] rowspan="[% rowspan FILTER html %]"[% END %]> Simply write [% IF rowspan %]. I doubt it can be negative.
Attached patch Fix.Splinter Review
Attachment #450145 - Attachment is obsolete: true
Attachment #450147 - Flags: review?(LpSolit)
Attachment #450145 - Flags: review?(LpSolit)
Attachment #450147 - Flags: review?(LpSolit) → review?(mkanat)
Attachment #450147 - Flags: review?(mkanat) → review+
Flags: approval+
Man, I'm glad this warning is going away. :-) Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified template/en/default/bug/field-label.html.tmpl Committed revision 7226.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: