| @@ 584-588 (lines=5) @@ | ||
| 581 | $t = $crit->param[0]; |
|
| 582 | if ($t[0]->type == 'texte') { |
|
| 583 | $t = $t[0]->texte; |
|
| 584 | if (preg_match("/^(.*)\.(.*)$/", $t, $r)) { |
|
| 585 | $t = table_objet_sql($r[1]); |
|
| 586 | $t = array_search($t, $boucles[$idb]->from); |
|
| 587 | if ($t) { |
|
| 588 | $t .= '.' . $r[2]; |
|
| 589 | } |
|
| 590 | } |
|
| 591 | } else { |
|
| @@ 804-809 (lines=6) @@ | ||
| 801 | } |
|
| 802 | } |
|
| 803 | ||
| 804 | if (preg_match('/^\'([^"]*)\'$/', $order, $m)) { |
|
| 805 | $t = $m[1]; |
|
| 806 | if (strpos($t, '.') and !in_array($t, $boucle->select)) { |
|
| 807 | $boucle->select[] = $t; |
|
| 808 | } |
|
| 809 | } else { |
|
| 810 | $sens = ''; |
|
| 811 | } |
|
| 812 | ||