Skip to content

Commit

Permalink
Fixed error with undefined $letter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Auz committed Dec 1, 2015
1 parent 071f5f9 commit bbafe98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/report_formats/XlsReportBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ abstract class XlsReportBase extends ReportFormatBase {
private static function columnLetter($c){
$c = intval($c);
if ($c <= 0) return '';

$letter = '';

while($c != 0){
$p = ($c - 1) % 26;
$c = intval(($c - $p) / 26);
Expand Down

0 comments on commit bbafe98

Please sign in to comment.