PHP8.1 Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated. addslashes 함수의 문자타입의 첫번째 파라미터에 null을 전달하는 것은 더 이상 사용되지 않습니다. 해결

This commit is contained in:
kagla
2022-03-31 08:00:49 +00:00
parent 767af99ba8
commit ecb10436e5
3 changed files with 30 additions and 32 deletions

View File

@ -842,7 +842,7 @@ class PHPExcel_Cell
if ($pColumnIndex < 26) {
$_indexCache[$pColumnIndex] = chr(65 + $pColumnIndex);
} elseif ($pColumnIndex < 702) {
$_indexCache[$pColumnIndex] = chr(64 + ($pColumnIndex / 26)) .
$_indexCache[$pColumnIndex] = chr(64 + (int)($pColumnIndex / 26)) .
chr(65 + $pColumnIndex % 26);
} else {
$_indexCache[$pColumnIndex] = chr(64 + (($pColumnIndex - 26) / 676)) .