Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PHP8.1 sfForm - Unsupported operand types: array + null on sfForm…
…::updateValues() Avoid error : Fatal error: Uncaught TypeError: Unsupported operand types: array + null in lib\form\sfForm.class.php:319 Step to reproduce : $form = new sfForm(); $form->updateValues(array('foo' => 'value')); PHP 5.3 coding style May use sfForm::getValues(), but as sfForm::updateValues() is a hack, it could be used before bind ($this->isBound = true);
- Loading branch information