Closed
Bug 276423
Opened 20 years ago
Closed 20 years ago
VersionCheck does not exclude items
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.1
People
(Reporter: Bugzilla-alanjstrBugs, Assigned: Bugzilla-alanjstrBugs)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
792 bytes,
patch
|
wolf
:
first-review+
|
Details | Diff | Splinter Review |
Items that are disabled or not approved should not appear.
Since jensb is around, jensb gets to do the review.
Attachment #169873 -
Flags: first-review?(jens.b)
Comment 2•20 years ago
|
||
Comment on attachment 169873 [details] [diff] [review]
Make sure it is approved
> $where = " WHERE main.guid = '" . $reqItemGuid . "'
> AND applications.guid = '" . $reqTargetAppGuid . "'
>- AND (version.OSID = 1 OR version.OSID = " . $osid . ")";
>+ AND (version.OSID = 1 OR version.OSID = " . $osid .
>+ AND version.approved = 'YES')";
PHP Syntax error, the string is terminated before $osid. Besides, you changed
the logic, the braces should only surround the OSID checks. How about:
>+ AND (version.OSID = 1 OR version.OSID = " . $osid . ")
>+ AND version.approved = 'YES'";
Attachment #169873 -
Flags: first-review?(jens.b) → first-review-
Attachment #169873 -
Attachment is obsolete: true
Attachment #169875 -
Flags: first-review?(jens.b)
Comment 4•20 years ago
|
||
Comment on attachment 169875 [details] [diff] [review]
move that parens where it belongs
sorry, there is one superfluous brace left after 'YES'.
+ with this change.
Attachment #169875 -
Flags: first-review?(jens.b) → first-review-
Attachment #169875 -
Attachment is obsolete: true
Attachment #169877 -
Flags: first-review?(jens.b)
Updated•20 years ago
|
Attachment #169877 -
Flags: first-review?(jens.b) → first-review+
Attachment #169877 -
Flags: first-review+ → first-review?(cbeard)
Comment 6•20 years ago
|
||
Comment on attachment 169877 [details] [diff] [review]
one ... more ... time
Works for me. :-)
Attachment #169877 -
Flags: first-review?(cbeard) → first-review+
Comment 7•20 years ago
|
||
Checked in..
cbeard: this needs to land on the live site.
*** Bug 276526 has been marked as a duplicate of this bug. ***
*** Bug 276731 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 10•20 years ago
|
||
*** Bug 276859 has been marked as a duplicate of this bug. ***
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 11•19 years ago
|
||
AMO BUGSPAM FOR COMPONENT MOVE AND DELETE (FILTER ME)
Component: Listings → Web Site
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•