Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/211'
Browse files Browse the repository at this point in the history
Closes jdorn#211
  • Loading branch information
jdorn committed Apr 13, 2016
2 parents e4cc1de + bbafe98 commit 54b243a
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 54b243a

Please sign in to comment.