Skip to content

Commit 37227a3

Browse files
authored
PHP8.1 Apply latest ZF1F changes to patch OM-918 (#2936)
1 parent 816248f commit 37227a3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.ddev/commands/web/vendor-patches

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
## Description: create Vendor Patches
4+
## Usage: vendor-patches
5+
## Example: ddev vendor-patches
6+
7+
php vendor/bin/vendor-patches generate

patches/OM-918.patch

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@
1414
* Read the content from locale
1515
*
1616
* Can be called like:
17-
@@ -333,10 +340,17 @@
18-
$val = implode('_' , $value);
19-
}
20-
21-
- $val = urlencode((string) $val);
22-
+ $val = urlencode($val);
17+
@@ -335,8 +342,15 @@
18+
19+
$val = urlencode((string) $val);
2320
$id = self::_filterCacheId('Zend_LocaleL_' . $locale . '_' . $path . '_' . $val);
2421
+
2522
+ // add runtime cache to avoid calling cache backend multiple times during one request

0 commit comments

Comments
 (0)