Can't call method "id" without a package or object reference at Bugzilla/Component.pm line 98

RESOLVED INVALID

Status

()

Bugzilla
Bugzilla-General
RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: Greg Hendricks, Unassigned)

Tracking

Details

Attachments

(1 attachment)

V1
580 bytes, patch
Max Kanat-Alexander
: review-
Details | Diff | Splinter Review
(Reporter)

Description

8 years ago
Created attachment 457117 [details] [diff] [review]
V1

Line 98 calls id on an uninstantiated product.
It should just be $product since that already contains the id as set on line 84
Attachment #457117 - Flags: review?(mkanat)

Comment 1

8 years ago
Comment on attachment 457117 [details] [diff] [review]
V1

No, you are expected to pass an instantiated object to the constructor, actually.
Attachment #457117 - Flags: review?(mkanat) → review-

Updated

8 years ago
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
(Reporter)

Comment 2

8 years ago
How silly of me.
You need to log in before you can comment on or make changes to this bug.