Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
573d579
Moved to FriendsOfSymfony1
j0k3r Oct 29, 2018
dd75bc4
Update PHPDoc - don't return "Boolean" use bool or false instead
DavidGoodwin Aug 15, 2019
d9e3f17
Merge pull request #211 from DavidGoodwin/patch-2
thePanz Aug 28, 2019
daebc94
Update README.md
callmebob2016 Nov 26, 2019
113be3d
[HttpFoundation] fix guessing mime-types of files with leading dash
Nov 27, 2019
dbe7d74
path need to be placed after the double dash
Nov 27, 2019
1d8ba1d
Test PHP 7.3 and 7.4
W0rma Mar 22, 2020
89421ab
Fix array and string offset access using curly braces (deprecated sin…
W0rma Mar 22, 2020
d6468e1
Call get_magic_quotes_gpc() only for PHP < 5.4 as it always returns f…
W0rma Mar 22, 2020
793f152
Use trusty for PHP 5.5
W0rma Mar 22, 2020
a0dc91d
Use trusty for PHP 5.6 to fix issue with memcache extension
W0rma Mar 22, 2020
2032c83
Call get_magic_quotes_gpc() for PHP < 5.4.0-dev
W0rma Mar 23, 2020
60275e4
Merge pull request #224 from W0rma/php74
j0k3r Apr 2, 2020
d0df47b
Merge pull request #217 from callmebob2016/patch-1
j0k3r Apr 3, 2020
444fb9c
Merge pull request #218 from adrienperonnet/backport-fix-cve-2019-18888
j0k3r Apr 3, 2020
437a29d
1.5.12
j0k3r Apr 3, 2020
7d1bd47
Fix tests count following #218
j0k3r Apr 3, 2020
2b325c0
Merge pull request #225 from FriendsOfSymfony1/fix/following-218
j0k3r Apr 3, 2020
80ff0d2
1.5.13-dev
j0k3r Apr 3, 2020
ff4f9ca
Remove `PHP Notice: Trying to access array offset on value of type nu…
May 6, 2020
73bae70
PHP 7.4 Incompatibility Fixes
pathumhdes Apr 20, 2020
4d512de
Fix for `Warning: ini_set(): A session is active. You cannot change t…
May 6, 2020
62e9c1e
Changes done as per feedback
pathumhdes May 17, 2020
f8ee65d
Merge pull request #229 from spirit-q2/fix-session-warning-on-php72-a…
j0k3r Jun 8, 2020
d8388cd
Rename package to `friendsofsymfony1/symfony1`
j0k3r Jun 8, 2020
19aee49
Merge pull request #228 from orangehrm/php-7.4
j0k3r Jun 8, 2020
25f818e
Merge pull request #230 from spirit-q2/remove-php74-notice
j0k3r Jun 8, 2020
f4aabbf
Merge pull request #231 from FriendsOfSymfony1/fix/update-composer
j0k3r Jun 8, 2020
28fa682
1.5.13
j0k3r Jun 8, 2020
1c02ce2
Update package name
j0k3r Jun 18, 2020
2987dcd
1.5.14-dev
j0k3r Jun 18, 2020
e79e664
Fixing Issue #234
pathumhdes Jun 19, 2020
5d17445
Redefining the fix to avoid the BC break
pathumhdes Jun 20, 2020
a38381f
Revise the fix to avoid the BC break
pathumhdes Jun 27, 2020
07f31d6
Updated lexpress to fos1 in the submodules.
thirsch Sep 8, 2020
9c1ef4e
Changes to allow Swiftmailer 5 and 6.
thirsch Sep 9, 2020
1c64cbd
PR feedback.
thirsch Sep 10, 2020
44bcf10
Update composer.json to automatically remove `lexpress/symfony1` package
Nov 19, 2020
027822b
Merge pull request #241 from spirit-q2/update-composer-json-to-automa…
j0k3r Nov 19, 2020
49245ac
Merge pull request #238 from vemaeg/feature/fos1-submodule-fix
thePanz Mar 23, 2021
8ae3232
PR feedback.
thirsch Mar 23, 2021
d9a1684
Merge pull request #240 from vemaeg/feature/swiftmailer-6-compat-2
thePanz Mar 24, 2021
10e1a1b
Update PHPDoc for sfWebController::redirect() func
cmdeviant May 12, 2021
aa68163
sfWebController::redirect() - PHPDoc with more precise types
cmdeviant May 14, 2021
c5bf8ce
sfWebController::genUrl() - PHPDoc with more precise types
cmdeviant May 14, 2021
9620a13
Merge pull request #246 from cmdeviant/patch-1
thePanz May 25, 2021
6f521e9
Merge pull request #235 from pathumhdes/issue234
thePanz May 25, 2021
de1836e
Rebase upstream
wutsch0 Jun 27, 2018
4aa2b00
Merge changes from upstream
terdia May 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove `PHP Notice: Trying to access array offset on value of type nu…
…ll in sfForm.class.php on line 947`
  • Loading branch information
Sergey Matvienko committed May 6, 2020
commit ff4f9ca196cb362b1328c0834f9bcc18fa63b62b
2 changes: 1 addition & 1 deletion lib/form/sfForm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ class sfForm implements ArrayAccess, Iterator, Countable
*/
public function __construct($defaults = array(), $options = array(), $CSRFSecret = null)
{
$this->setDefaults($defaults);
$this->options = $options;
$this->localCSRFSecret = $CSRFSecret;

$this->validatorSchema = new sfValidatorSchema();
$this->widgetSchema = new sfWidgetFormSchema();
$this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);

$this->setDefaults($defaults);
$this->setup();
$this->configure();

Expand Down