Skip to content
Permalink
Browse files

fix: A non well formed numeric value encountered (PHP 7.1)

  • Loading branch information...
remicollet committed Jun 11, 2016
1 parent 4d08a12 commit 25f02addabbb727cda7bb48a2c1185edb06373f5
Showing with 2 additions and 1 deletion.
  1. +2 −1 inc/toolbox.class.php
@@ -1954,7 +1954,8 @@ static function manageRedirect($where) {
static function return_bytes_from_ini_vars($val) {
$val = trim($val);
$last = self::strtolower($val{strlen($val)-1});
$last = self::strtolower($val[strlen($val)-1]);
$val = (int)$val;
switch($last) {
// Le modifieur 'G' est disponible depuis PHP 5.1.0

0 comments on commit 25f02ad

Please sign in to comment.
You can’t perform that action at this time.