Skip to content

Commit 61cf9c5

Browse files
Merge pull request #6 from KaveeshaSilva/php83comp1
PHP 8.x Migration
2 parents 83bc800 + e6f43b7 commit 61cf9c5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"name": "friendsofsymfony1/symfony1",
2+
"name": "lexpress/symfony1",
33
"description": "Fork of symfony 1.4 with dic, form enhancements, latest swiftmailer and better performance",
44
"type": "library",
55
"license": "MIT",
66
"require": {
77
"php" : "^7.4 || ^8.1",
8-
"friendsofsymfony1/swiftmailer": "^5.4.13 || ^6.2.5",
9-
"oomphinc/composer-installers-extender": "^1.1"
8+
"friendsofsymfony1/swiftmailer": "^5.4.13 || ^6.2.5"
109
},
1110
"require-dev": {
1211
"psr/log": "*"

lib/helper/TagHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function escape_javascript($javascript = '')
8282
*/
8383
function escape_once($html)
8484
{
85-
return fix_double_escape(htmlspecialchars($html, ENT_COMPAT, sfConfig::get('sf_charset')));
85+
return fix_double_escape(is_string($html) ? htmlspecialchars($html, ENT_COMPAT, sfConfig::get('sf_charset')) : null);
8686
}
8787

8888
/**

0 commit comments

Comments
 (0)