|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 3966 | major | always | 03-24-10 22:11 | 06-19-12 14:55 | |
|
|
|||||
| Reporter: | Rogiel | Platform: | |||
| Assigned To: | nam | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.6 | ||
| Product Build: | Resolution: | unable to reproduce | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0003966: Setting array values using field name as another field | ||||
| Description: |
When setting an field into an array, Quercus set the entire array as the value of the field. Resulting in the loss of the array. This problem is preventing vBulletin from posting new threads in Quercus. |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
<?php $test = new BugTest(); echo "Before Setting: "; print_r($test->testField); echo " "; $test->set('a', 'A'); $test->set('b', 'B'); echo "After Setting: "; print_r($test->testField); class BugTest { var $field = "testField"; function BugTest() { $this->{$this->field} = array(); } function set($key, $value) { $this->{$this->field}[$key] = $value; } } ?> |
||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||