Changeset 921 for trunk/www/en/ports.php


Ignore:
Timestamp:
Oct 4, 2002, 7:05:29 AM (18 years ago)
Author:
kevin
Message:

Fix view by all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/en/ports.php

    r920 r921  
    3232                </tr>
    3333                <?
    34                         if (!$by || !$substr) {
     34                        if (!$by || (!$substr && $by != "all")) {
    3535                ?>
    3636                <tr><td colspan="4"><hr size="1" noshade="noshade" /></td></tr>
     
    5353        <dl>
    5454<?
    55         if ($by && $substr) {
    56                 // all
     55        if ($by && ($substr || $by == "all")) {
    5756                $query = "SELECT name,description,maintainer FROM darwinports.portfiles p, darwinports.maintainers m, darwinports.categories c WHERE p.name=m.portfile AND p.name=c.portfile AND m.is_primary=1";
    5857                if ($by == "name") {
Note: See TracChangeset for help on using the changeset viewer.