fix PHP Warning: A non-numeric value encountered

This commit is contained in:
Ralf Becker 2018-10-19 09:33:28 +02:00
parent 9786a53987
commit 0065fbc25e

View File

@ -622,7 +622,7 @@ class Widget
}
if (!is_numeric($c)) $c = self::chrs2num($c);
$col = self::num2chrs($c-1); // $c-1 to get: 0:'@', 1:'A', ...
$col_ = self::num2chrs($c_-1);
if (is_numeric($c_)) $col_ = self::num2chrs($c_-1);
$row_cont = $cont[$row];
$col_row_cont = $cont[$col.$row];