Changeset bcb45436ba0ff838e5343a7b9df8e542ad4e35bd
- Timestamp:
- 05/23/08 17:20:15
(5 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1211563215 +0000
- git-parent:
[773b1aaa4d499355bbb43163cae75206cda242a3]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1211563215 +0000
- Message:
append if multiple changes round into the same slot
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc33606c |
rbcb4543 |
|
| 35 | 35 | $rv = array(); |
|---|
| 36 | 36 | while($row = $sth->fetch()) { |
|---|
| 37 | | $rv[$row['whence']] = $row; |
|---|
| | 37 | if(isset($rv[$row['whence']])) |
|---|
| | 38 | $rv[$row['whence']]['value'] = $rv[$row['whence']]['value'] . "\n" . |
|---|
| | 39 | $row['value']; |
|---|
| | 40 | else |
|---|
| | 41 | $rv[$row['whence']] = $row; |
|---|
| 38 | 42 | } |
|---|
| 39 | 43 | return $rv; |
|---|