diff options
| author | twonky4 <twonky4@gmx.de> | 2015-04-20 15:40:46 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2015-04-20 15:56:57 +0200 |
| commit | dcd82546a803594c4c7391051dcc19c82cc5a29a (patch) | |
| tree | ecbbfcbb678704b9ea447253592c233bfaa44f02 /toexport.inc.php | |
| parent | 6efaea3b84221742cd41207677cae0bec40cec79 (diff) | |
| download | adodb-dcd82546a803594c4c7391051dcc19c82cc5a29a.tar.gz adodb-dcd82546a803594c4c7391051dcc19c82cc5a29a.tar.bz2 adodb-dcd82546a803594c4c7391051dcc19c82cc5a29a.zip | |
fix exception for calling implode with NULL parameter
Fixes #94
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Diffstat (limited to 'toexport.inc.php')
| -rw-r--r-- | toexport.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toexport.inc.php b/toexport.inc.php index 86b50083..dd1316be 100644 --- a/toexport.inc.php +++ b/toexport.inc.php @@ -74,6 +74,7 @@ function _adodb_export(&$rs,$sep,$sepreplace,$fp=false,$addtitles=true,$quote = $fieldTypes = $rs->FieldTypesArray(); reset($fieldTypes); $i = 0; + $elements = array(); while(list(,$o) = each($fieldTypes)) { $v = ($o) ? $o->name : 'Field'.($i++); |
