diff options
Diffstat (limited to 'toexport.inc.php')
| -rw-r--r-- | toexport.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toexport.inc.php b/toexport.inc.php index 97b171cf..70f4e6dc 100644 --- a/toexport.inc.php +++ b/toexport.inc.php @@ -77,7 +77,7 @@ function _adodb_export(&$rs,$sep,$sepreplace,$fp=false,$addtitles=true,$quote = reset($fieldTypes); $i = 0; $elements = array(); - while(list(,$o) = each($fieldTypes)) { + foreach ($fieldTypes as $o) { $v = ($o) ? $o->name : 'Field'.($i++); if ($escquote) $v = str_replace($quote,$escquotequote,$v); |
