|
@@ 303-304 (lines=2) @@
|
| 300 |
|
if (0 === $keys_title[0]) { |
| 301 |
|
// Int indexed |
| 302 |
|
// Remove title if title has more items than data |
| 303 |
|
for ($i = count($keys_data); $i < count($keys_title); $i++) |
| 304 |
|
unset($ar_title[$i]); |
| 305 |
|
} |
| 306 |
|
else { |
| 307 |
|
// String indexed |
|
@@ 329-331 (lines=3) @@
|
| 326 |
|
$ar_title = &$this->aTitle; |
| 327 |
|
// Int indexed |
| 328 |
|
// Add title if title has fewer items than data |
| 329 |
|
for ($i = count($keys_title); $i < count($keys_data); $i++) |
| 330 |
|
// Can only use field name in data |
| 331 |
|
$ar_title[$i] = $keys_data[$i]; |
| 332 |
|
} |
| 333 |
|
else { |
| 334 |
|
// Add as insert |