summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-07-11 09:36:44 +0200
committerAnatol Belski <ab@php.net>2014-07-11 09:36:44 +0200
commit9f5cf7d41a6d5efd29109c589cb665723daff122 (patch)
treeec7480dbdca0b579567c263665bfbb2f1376001f
parent02b661ecfcc6ddfbeb75b8226690eac5786d6189 (diff)
downloadphp-git-9f5cf7d41a6d5efd29109c589cb665723daff122.tar.gz
fixe output_as_table() when no ext was enabled
-rw-r--r--win32/build/confutils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 05eaa85165..ef50dfe08e 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1498,7 +1498,7 @@ function output_as_table(header, ar_out)
var min = new Array(l);
var max = new Array(l);
- if (l != ar_out[0].length) {
+ if (!!ar_out[0] && l != ar_out[0].length) {
STDOUT.WriteLine("Invalid header argument, can't output the table " + l + " " + ar_out[0].length );
return;
}