Page MenuHomePhorge

D25233.1749275406.diff
No OneTemporary

D25233.1749275406.diff

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

Mime Type
text/plain
Expires
Sat, Jun 7, 05:50 (9 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1753995
Default Alt Text
D25233.1749275406.diff (829 B)

Event Timeline