summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-22 03:36:56 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-22 03:36:56 -0400
commite88586e1b26ac60db014c1d3cb3eb02c545c7a2e (patch)
treea93d11cfa2d86cddb4e0baea033e0fef5c96ae95
parent5af52b992a3ea7298f302814a332609da3bf8125 (diff)
downloadspreadsheet-parsexlsx-e88586e1b26ac60db014c1d3cb3eb02c545c7a2e.tar.gz
spreadsheet-parsexlsx-e88586e1b26ac60db014c1d3cb3eb02c545c7a2e.zip
ensure _color always returns a single item
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index cf9319a..26e591e 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -921,7 +921,7 @@ sub _color {
$color = "#$theme";
}
else {
- return;
+ return undef;
}
}