diff options
author | Anatol Belski <ab@php.net> | 2014-07-11 09:36:44 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-07-11 09:36:44 +0200 |
commit | 9f5cf7d41a6d5efd29109c589cb665723daff122 (patch) | |
tree | ec7480dbdca0b579567c263665bfbb2f1376001f | |
parent | 02b661ecfcc6ddfbeb75b8226690eac5786d6189 (diff) | |
download | php-git-9f5cf7d41a6d5efd29109c589cb665723daff122.tar.gz |
fixe output_as_table() when no ext was enabled
-rw-r--r-- | win32/build/confutils.js | 2 |
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;
}
|