Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2896296
D25233.1737240753.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
829 B
Referenced Files
None
Subscribers
None
D25233.1737240753.diff
View Options
diff --git a/externals/pear-figlet/Text/Figlet.php b/externals/pear-figlet/Text/Figlet.php
--- a/externals/pear-figlet/Text/Figlet.php
+++ b/externals/pear-figlet/Text/Figlet.php
@@ -231,7 +231,7 @@
$i = hexdec(substr($i, 2));
} else {
// If octal
- if ($i{0} === '0' && $i !== '0' || substr($i, 0, 2) == '-0') {
+ if ($i[0] === '0' && $i !== '0' || substr($i, 0, 2) == '-0') {
$i = octdec($i);
}
}
@@ -274,7 +274,7 @@
$lt = hexdec(substr($str, $i+2, 4));
$i += 5;
} else {
- $lt = ord($str{$i});
+ $lt = ord($str[$i]);
}
$hb = preg_quote($this->hardblank, '/');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 22:52 (12 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129589
Default Alt Text
D25233.1737240753.diff (829 B)
Attached To
Mode
D25233: Fix PHP 8.1 Fatal error in Figlet: Use square brackets instead of curly braces
Attached
Detach File
Event Timeline
Log In to Comment