htdocs/class/snoopy.php 2 locations
|
@@ 552-556 (lines=5) @@
|
| 549 |
|
|
| 550 |
|
// catenate the non-empty matches from the conditional subpattern |
| 551 |
|
|
| 552 |
|
while (list($key, $val) = each($links[2])) { |
| 553 |
|
if (!empty($val)) |
| 554 |
|
$match[] = $val; |
| 555 |
|
} |
| 556 |
|
|
| 557 |
|
while (list($key, $val) = each($links[3])) { |
| 558 |
|
if (!empty($val)) |
| 559 |
|
$match[] = $val; |
|
@@ 557-561 (lines=5) @@
|
| 554 |
|
$match[] = $val; |
| 555 |
|
} |
| 556 |
|
|
| 557 |
|
while (list($key, $val) = each($links[3])) { |
| 558 |
|
if (!empty($val)) |
| 559 |
|
$match[] = $val; |
| 560 |
|
} |
| 561 |
|
|
| 562 |
|
// return the links |
| 563 |
|
return $match; |
| 564 |
|
} |