Page MenuHomePhorge

D25233.1737240753.diff
No OneTemporary

D25233.1737240753.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, 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)

Event Timeline